Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
100PercentPureJavaCookbook-4_1_1

100PercentPureJavaCookbook-4_1_1

Ratings: (0)|Views: 2 |Likes:
Published by api-3763253

More info:

Published by: api-3763253 on Oct 16, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

Sun Microsystems, Inc.
901 San Antonio Road
Palo Alto, California 94303 USA

100% Pure Java\u2122
Cookbook
Guidelines for achieving the
100% Pure Java Standard
Revision 4.0
Copyrights
\u00a92000 Sun Microsystems, Inc. All rights reserved.
901 San Antonio Road , Palo Alto, California 94043, U.S.A.
This product and related documentation are protected by copyright and distributed under licenses
restricting its use, copying, distribution, and decompilation. No part of this product or related
documentation may be reproduced in any form by any means without prior written authorization of Sun
and its licensors, if any.
Restricted Rights Legend
Use, duplication, or disclosure by the United States Government is subject to the restrictions set forth in
DFARS 252.227-7013 (c)(1)(ii) an d FAR 52.227-19.
The product described in this manual may be protected by one or more U.S. patents, foreign patents, or
pending applications.
Trademarks

Sun, the Sun logo, Sun Microsystems, Java, Java Compatible, 100% Pure Java, JavaStar, JavaPureCheck, JavaBeans, Java 2D, Solaris,Write Once, Run Anywhere, JDK, Java Development Kit Standard Edition, JDBC, JavaSpin, HotJava, The Network Is The Computer, and JavaStation are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and certain other countries. UNIX is a registered

trademark in the United States and other countries, exclusively licensed through X/ Open Company, Ltd.
All other product names mentioned herein are the trademarks of their respective owners.
Netscape and Netscape Navigator are trademarks of Netscape Communications Corporation in the
United States and other countries.
TH IS PUBLICATION IS PROVIDED \u201cAS IS\u201d WITH OUT WARRAN TY OF AN Y KIN D, EITH ER
EXPRESS OR IMPLIED, IN CLUDIN G, BUT N OT LIMITED TO, TH E IMPLIED WARRAN TIES OF
MERCH AN TABILITY, FITN ESS FOR A PARTICULAR PURPOSE, OR N ON -IN FRIN GEMEN T.

TH IS PUBLICATION COULD INCLUDE TECH NICAL INACCURACIES OR TYPOGRAPH ICAL ERRORS. CH AN GES ARE PERIODICALLY ADDED TO TH E IN FORMATION H EREIN ; TH ESE CH AN GES WILL BE IN CORPORATED IN N EW EDITION S OF TH E PUBLICATION . SUN

MICROSYSTEMS, IN C. MAY MAKE IMPROVEMEN TS AN D/ OR CH AN GES IN TH E PRODUCT(S)
AN D/ OR TH E PROGRAM(S) DESCRIBED IN TH IS PUBLICATION AT AN Y TIME.
Revision History
4/ 97 - 1.0
First release
5/ 97 - 1.1
Minor updates
4/ 98 - 2.0
Added certification instructions for beans
Introduced new feature based dynamic testing requirements
Dropped code coverage requirements
Added instructions for recertification
4/ 99 - 2.1
Added certification instructions for servlets
Added guidelines for certification under 1.2 runtime environments
Updated recertification requirements
Added guidelines for certifying hybrid programs
Added FAQ
10/ 99 - 3.0
Reorganized and updated
3/ 00 - 3.1
Reorganized and updated
10/ 00 - 4.0
Formerly \u201c100% Pure Java Certification Guide\u201d, rewritten to remove the certification
process and branding program.
Revision Date: 10/00
i
Table of Contents
Introduction
The 100% Pure Java\u2122 Standard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 1

About this Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 1 - 1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 2 100% Pure Java Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 3 Online Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 3

What is the 100% Pure Java Standard?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 4

Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 1 - 4 API Constraints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 4 Common Behavior. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 4

Should I Comply With The Purity Standard?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 5
The \u201cSuggested Compliance Evaluation Criteria?\u201d Checklist. . . . . . . . . . . . . . . . . 1 - 5
Understanding Portability
& Purity

Standards for Portability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 1 The Purpose of the Purity Standard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 1 Which Java\u2122 API?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 2

Understanding \u2018Purity\u2019. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2 - 2 Purity is Not Goodness. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 3 Portability vs. Purity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 3

Rules of Purity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . 2 - 4
The Rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 5

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->