Read without ads and support Scribd by becoming a Scribd Premium Reader.

Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054 U.S.A.
650-960-1300

Send comments about this document to:docfeedback@sun.com
Building Enterprise JavaBeans\u2122
Components
Forte\u2122 for Java\u2122 Programming Series
Part No. 816-4060-10
June 2002, Revision A
Please
Recycle
Copyright \u00a92002SunMicrosystems, Inc., 4150NetworkCircle, SantaClara, California95054, U.S.A. All rightsreserved.
SunMicrosystems, Inc. has intellectual property rightsrelatingto technology embodied in the product that isdescribed in thisdocument.
In particular, andwithout limitation, these intellectual property rights may include one or more of theU.S. patents listed at
http://www.sun.com/patentsand one or more additional patents or pendingpatent applications in theU.S. and in other countries.
Thisdocument andthe product to which it pertains are distributed under licensesrestrictingtheir use, copying, distribution, and
decompilation. No part of the product or of thisdocument maybe reproduced in anyform byany means without prior written authorization of

Sun and its licensors, if any.
Third-party software, includingfont technology, is copyrighted and licensedfromSun suppliers.
This product includes code licensedfromRSADataSecurity.
Sun, SunMicrosystems, theSun logo, Forte, Java, NetBeans, iPlanet, docs.sun.com, andSolaris are trademarks or registeredtrademarks of Sun

Microsystems, Inc. in theU.S. and other countries.
All SPARCtrademarks are used under license and are trademarks or registeredtrademarks of SPARC International, Inc. in theU.S. and other

countries. ProductsbearingSPARCtrademarks are based upon architecture developedbySunMicrosystems, Inc.
UNIXis a registeredtrademark in theUnitedStates and other countries, exclusivelylicensedthroughX/Open Company, Ltd.
Netscape andNetscapeNavigator are trademarks or registeredtrademarks of NetscapeCommunications Corporation in theUnitedStates and

other countries.
Federal Acquisitions: Commercial Software\u2014Government UsersSubject toStandardLicenseTerms andConditions.

DOCUMENTATION IS PROVIDED\u201cAS IS\u201d AND ALL EXPRESS OR IMPLIEDCONDITIONS, REPRESENTATIONS ANDWARRANTIES, INCLUDING ANYIMPLIEDWARRANTYOFMERCHANTABILITY, FITNESSFOR A PARTICULARPURPOSEORNON-INFRINGEMENT, ARE DISCLAIMED, EXCEPTTOTHE EXTENTTHAT SUCHDISCLAIMERS AREHELDTOBE LEGALLY INVALID.

Copyright \u00a92002SunMicrosystems, Inc., 4150NetworkCircle, SantaClara, California95054, Etats-Unis. Tousdroitsr\u00e9serv\u00e9s.

SunMicrosystems, Inc. a lesdroitsde propri\u00e9t\u00e9intellectuelsrelatants\u00e0 la technologie incorpor\u00e9e dans le produit qui est d\u00e9crit dans ce
document. En particulier, et sans la limitation, cesdroitsde propri\u00e9t\u00e9intellectuels peuvent inclure un ou plusdesbrevets am\u00e9ricains \u00e9num\u00e9r\u00e9s
\u00e0http://www.sun.com/patents et un ou lesbrevets plus suppl\u00e9mentaires ou les applicationsde brevet en attente dans lesEtats-Unis et
dans les autres pays.

Ce produit ou document est prot\u00e9g\u00e9par un copyright et distribu\u00e9avecdes licencesqui enrestreignent l\u2019utilisation, la copie, la distribution, et la
d\u00e9compilation. Aucune partie de ce produit ou document ne peut \u00eatre reproduite sous aucune forme, parquelque moyenque ce soit, sans
l\u2019autorisation pr\u00e9alable et \u00e9crite deSun et de sesbailleursde licence, s\u2019il y en a.

Le logiciel d\u00e9tenu par des tiers, et qui comprend la technologie relative aux policesde caract\u00e8res, est prot\u00e9g\u00e9par un copyright et licenci\u00e9par des

fournisseursdeSun.
Ce produit comprend le logiciel licenci\u00e9parRSADataSecurity.
Sun, SunMicrosystems, le logoSun, Forte, Java, NetBeans, iPlanet, docs.sun.com, et Solaris sont des marquesde fabrique ou des marques

d\u00e9pos\u00e9esdeSunMicrosystems, Inc. auxEtats-Unis et dansd\u2019autres pays.
Toutes les marquesSPARCsont utilis\u00e9es sous licence et sont des marquesde fabrique ou des marquesd\u00e9pos\u00e9esdeSPARC International, Inc.
auxEtats-Unis et dansd\u2019autres pays. Les produits protant les marquesSPARCsont bas\u00e9s sur une architecture d\u00e9velopp\u00e9e parSun

Microsystems, Inc.
UNIXest une marque enregistree auxEtats-Unis et dansd\u2019autres pays et licenci\u00e9e exclusivement parX/Open CompanyLtd.
Netscape et NetscapeNavigator sont des marquesdeNetscapeCommunications Corporation auxEtats-Unis et dansd\u2019autres pays.
LADOCUMENTATION ESTFOURNIE\u201cENL\u2019\u00c9TAT\u201dETTOUTES AUTRES CONDITIONS, DECLARATIONS ETGARANTIES EXPRESSES

OU TACITES SONTFORMELLEMENT EXCLUES, DANSLA MESUREAUTORISEE PAR LA LOI APPLICABLE, YCOMPRISNOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVEA LAQUALITE MARCHANDE, A L\u2019APTITUDEA UNEUTILISATIONPARTICULIEREOU A L\u2019ABSENCE DECONTREFA\u00c7ON.

iii
Contents
Before You Begin xvii
1. Enterprise JavaBeans Concepts 1
TheJ2EEArchitecture 2
TheRoles of EJB Components 3
TheRoles of ApplicationBuilders 5
Inside anEJBApplication 6
TheElements of anEnterpriseBean 7
BeanMethods 7

Types of Interfaces 9
TheBean Class 11
EJBQL 12
The Deployment Descriptor 12

The Work Flow of anEJBApplication at Runtime 13
AnEnterpriseBean\u2019s Development Life Cycle 14
TheIDE\u2019s Support for EnterpriseBeans 15

DevelopingEnterpriseBeans in theIDE 16
CreatingSets of RelatedCMPEntityBeans 16
ProvidingTransactions 17
ProvidingPersistence 17

Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • More From This User

    Notes
    Load more