Applying Enterprise JavaBeans - Vlada Matena , Beth Stearns - Librairie Eyrolles
Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Applying Enterprise JavaBeans
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Applying Enterprise JavaBeans

Applying Enterprise JavaBeans

Component-Based Development for the J2EE Platform

Vlada Matena, Beth Stearns - Collection The Java series

435 pages, parution le 15/03/2001

Résumé

Written by the chief architect of the Enterprise JavaBean™ (EJB) specification, Applying Enterprise JavaBeans™ provides complete, in-depth, and authoritative information on the EJB technology. Written for Java developers, IT personnel and independent software vendors (ISVs), this book presents the EJB architecture from the point of view of the person developing EJB applications.

You will find in-depth coverage of such topics as:

  • EJB's place within the Java™ 2 Platform, Enterprise Edition
  • The advantages of the EJB architecture
  • The internal structure of enterprise beans
  • Session beans, including a discussion on stateful versus stateless session beans
  • Entity beans, including life cycle, persistence management, and container management
  • Transaction management
  • Overview of security responsibilities of the various EJB roles
  • Using EJB in application integration

Two example applications that run throughout the book are used to illustrate many of the typical problems encountered in enterprise application development. The first example application, a benefits enrollment application developed by an in-house IT department, explains session beans and how to use them. The second example uses the first example and turns it into an application developed by an ISV, demonstrating how the entity bean architecture helps ISVs overcome the challenges of programming for multiple clients and different operational environments.

In addition to the two application examples, the authors describe the individual features of the EJB architecture and discuss when and how they should be used in applications. The book concludes with a comprehensive API reference.

Contents

(NOTE: Each chapter concludes with a Conclusion.)
Foreword.
Preface.
1. Advantages of the Enterprise JavaBeans Architecture.

From a Two-Tier to J2EE Architecture.
Two-Tier Application Architecture.
Traditional Three-Tier Application Architecture.
Early Web-Based Application Architecture.
J2EE Application Architecture.
Advantages of the Enterprise JavaBeans Architecture.
Benefits to the Application Developer.
Benefits to Customers.

2. Enterprise JavaBeans Architecture Overview.
What Are Enterprise JavaBeans Applications?
Business Entities and Processes and Enterprise Bean Types.
Business Entities.
Business Processes.
Implementation of Business Rules.
Enterprise Bean Types.
Choosing Entity Beans or Session Beans.
When to Use Dependent Objects.
Structure of Enterprise Beans.
Enterprise Bean Home Interface.
Enterprise Bean Remote Interface.
Enterprise Bean Class.
Deployment Descriptor.
Container Tools and Services.
Container Artifacts.
Container Runtime Services.

3. Enterprise JavaBeans Roles.
EJB Roles.
Bean Developer.
Application Assembler.
Deployer.
System Administrator.
EJB Container Provider.
EJB Server Provider.
Tools.

4. Working with Session Beans.
When to Use Session Beans?
Using Session Beans in Web Applications.
Using Session Beans in Traditional Three-Tier Applications.
Understanding the State of a Session Object.
Stateful versus Stateless Session Beans.
Understanding Conversational State.
Overview of the Example Application.
User View of the Application.
Main Parts of the Application.
The “Benefits Enrollment” Business Process.
EnrollmentEJB Stateful Session Bean in Detail.
EnrollmentEJB Session Bean Parts.
EnrollmentBean Session Bean Class Details.
Client Developer's Perspective.
PayrollEJB Stateless Session Bean.
PayrollEJB Stateless Session Bean Parts.
Client Developer's Perspective.
Database Schemas.
EmployeeDatabase Schema.
BenefitsDatabase Schema.
PayrollDatabase Schema.
Container-Provided Benefits.

5. Session Bean in its Container.
Container Artifacts.
How the Container Manages Session Beans at Runtime.
EJB Home Interface Lookup.
Session Object Creation.
Business Method Invocation.
Session Bean Passivation and Activation.
Session Object Removal.
Session Bean Timeout.

6. Understanding Entity Beans.
Client View of an Entity Bean.
Home Interface.
Remote Interface.
Primary Key and Object Identity.
Entity Object Life Cycle.
Entity Bean Handle.
Bean Developer View of an Entity Bean.
Entity Object Persistence.
Entity Bean Class Methods.
Entity Bean Instance Life Cycle.
Using the ejbLoad and ejbStore Methods.
Designing the Entity Bean Remote Interface.
Concurrent Invocation of an Entity Object.
Using Entity Beans with Pre-Existing Data.

7. Entity Bean Application Example.
Application Overview.
Problem Description.
Main Parts of the Application.
Distributed Deployment.
Pre-existing Parts at Star Enterprise.
EmployeeDatabase.
Payroll System.
Parts Developed by Wombat.
Overview of the Wombat Parts.
EnrollmentEJB Session Bean.
EmployeeEJB Entity Bean.
SelectionEJB Entity Bean.
WrapperPlanEJB Entity Bean.
EnrollmentWeb Web Application.
BenefitsAdminWeb Web Application.
BenefitsDatabase.
Packaging of Parts.
Parts Developed by Premium Health.
Overview.
PremiumHealthPlanEJB EntityBean.
HelperEJB Session Bean.
PremiumHealthAdminWeb Web Application.
PremiumHealthAdminApp.
PremiumHealthDatabase.
Packaging.
Parts Developed by Providence.
Overview.
ProvidencePlanEJB EntityBean.
ProvidenceServiceWeb Web Application.
Packaging.
Summary of the Integration Techniques.
Bean Provider Publishes EJB Client-View Interfaces.
Client Provider Publishes EJB Client-View Interfaces.
Use of Container-managed Persistence.

8. Understanding Transactions.
Declarative Transaction Demarcation.
Transaction Attributes.
Transaction Attribute Values.
Transaction Attributes for Sample Application.
Programmatic Transaction Demarcation.
Transaction Demarcated by a Client.
Transaction Demarcation by a Session Bean.
Pitfalls of Using Programmatic Transaction Demarcation.

9. Managing Security.
Responsibilities of the System Administrator.
Administering Users and Security Principals.
Managing Principal Mapping.
Responsibilities of the Container Provider.
Authentication and Authorization Tasks.
Managing Multiple Applications and Domains.
Application Provider's View of Security.
Client Authentication.
Authorization.
Declarative Security Mechanism.
Security Roles.
Method Permissions.
Programmatic Security API.
Example Application Security.
Deployer's Responsibility.
Deploying Wombat's Enterprise Beans.
Deploying Premium Health's Enterprise Bean.
Deploying Providence's Enterprise Bean.

Appendix A: API Reference.
EJBObject Interface Methods.
EJBHome Interface Methods.
EnterpriseBean Interface.
EJBContext Interface Methods.
EJBMetaData Interface Methods.
EntityBean Interface Methods.
EntityContext Interface Methods.
Handle Interface Methods.
HomeHandle Interface Methods.
SessionBean Interface Methods.
SessionContext Interface Methods.
SessionSynchronization Interface Methods.
Exception Classes.
CreateException Class.
DuplicateKeyException Class.
EJBException Class.
FinderException Class.
NoSuchEntityException Class.
ObjectNotFoundException Class.
RemoveException Class.

Appendix B: Code Samples.
CCI Interface Classes.
Data Access Command Beans.

Glossary.
Index.

L'auteur - Vlada Matena

Vlada Matena is a Distinguished Engineer with the Java Software division of Sun Microsystems Inc., where he works on the J2EE architecture team. He is the Chief Architect of the Enterprise JavaBeans specification, and an architect of the JTS and JTA specifications.

L'auteur - Beth Stearns

Beth Stearns is the principal partner of ComputerEase Publishing, a computer consulting firm she founded in 1982. Her client list includes Sun Microsystems, Inc., Silicon Graphics, Inc., Oracle Corporation, and Xerox Corporation. Among her publications are the "Java Native Interface" chapter in The Java Tutorial Continued (Addison-Wesley), "The EJB Programming Guide" for Inprise Corporation, and "Understanding EDT," a guide to Digital Equipment Corporation's text editor. Stearns received a bachelor of science from Cornell University and a master's degree from Adelphi University.

Caractéristiques techniques

  PAPIER
Éditeur(s) Addison Wesley
Auteur(s) Vlada Matena, Beth Stearns
Collection The Java series
Parution 15/03/2001
Nb. de pages 435
Format 18,6 x 23,3
Couverture Broché
Poids 687g
Intérieur Noir et Blanc
EAN13 9780201702675

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription