Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
35Activity
0 of .
Results for:
No results containing your search query
P. 1
J2EE Tutorial

J2EE Tutorial

Ratings: (0)|Views: 447 |Likes:
Published by api-3834494

More info:

Published by: api-3834494 on Oct 18, 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

03/18/2014

pdf

text

original

TM
The J2EE
Tutoria l

Stephanie Bodoff
Dale Green
Eric Jendrock
Monica Pawlan
Beth Stearns

Copyright \u00a9 2001 by Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, California 94303 U.S.A.
All rights reserved.

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)(iii) and FAR 52.227-19.
The release described in this book may be protected by one or more U.S. patents, foreign patents, or
pending applications.

Sun, Sun Microsystems, Sun Microsystems Computer Corporation, the Sun logo, the Sun Microsystems Computer Corporation logo, Java, JavaSoft, Java Software, JavaScript, JDBC, JDBC Compliant, JavaOS, JavaBeans, Enterprise JavaBeans, JavaServer Pages, J2EE, J2SE, JavaMail, Java Naming and Directory Interface, EJB, and JSP are trademarks or registered trademarks of Sun Microsystems, Inc. UNIX\u00ae is a registered trademark in the United States and other countries, exclusively licensed through X/Open Com- pany, Ltd. All other product names mentioned herein are the trademarks of their respective owners.

THIS PUBLICATION IS PROVIDED \u201cAS IS\u201d WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.

THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THE PUBLICATION. SUN MICROSYSTEMS, INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PROD- UCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME.

Contents
iii
Pre fa c e. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Who Should Use This Tutorial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
About the Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Prerequisites for the Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Where to Find the Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
How to Build and Run the Examples. . . . . . . . . . . . . . . . . . . . . . . . . xviii
Related Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
How to Print This Tutorial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Typographical Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii

Chapter1: Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Distributed Multitiered Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
J2EE Application Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Client Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Application Clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Web Browsers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Applets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
JavaBeans\u2122Component Architecture. . . . . . . . . . . . . . . . . . . . . 27
J2EE Server Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Thin Clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Web Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Business Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Enterprise Information System Tier. . . . . . . . . . . . . . . . . . . . . . . . . . . 30
J2EE Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Containers and Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Container Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Packaging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Activity (35)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
TRINADH liked this
Carl Qin liked this
santhosh liked this
sarma32 liked this
sushilnayak liked this

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)//-->