Main Page

Applying Enterprise JavaBeans™:Component-Based Development for the J2EE™ Platform, Second Edition
By Vlada Matena, Sanjeev Krishnan, Linda DeMichiel, Beth Stearns
Publisher: Addison Wesley
Pub Date: May 30, 2003
ISBN: 0-201-91466-2
Pages: 496

Written by the architects of the Enterprise JavaBean (EJB) specification, Applying Enterprise JavaBeans(TM), Second Edition is an advanced programming guide and reference source which has been updated and expanded to reflect updates in the EJB 2.1 specification. This book is an invaluable resource for IT personnel building in-house applications and for the independent software vendors (ISVs) building applications for sale to enterprise.

The authors use example applications to clearly illustrate many of the typical problems encountered in enterprise application development, and to help developers learn to use the newest features of the EJB. Applying Enterprise JavaBeans(TM), Second Edition also explores the use of EJB architecture in the construction and accessing of Web services, thus integrating applications across enterprises with interoperable, standards-based protocols and service description formats.

In-depth coverage includes such EJB topics as:

  • Support for Web services and security management

  • Message-driven beans and integration with Java Messaging Service (JMS)

  • Session beans-including a discussion of the differences between stateful and stateless session beans

  • Entity beans-including life cycle, persistence management, and container management

  • Transaction management

  • EJB Query Language

Applying Enterprise JavaBeans(TM), Second Edition discusses when and how each EJB feature should be used in applications and concludes with a comprehensive API reference for developers. This book is an essential addition to every Java programmer's bookshelf.

• Table of Contents
• Index
Applying Enterprise JavaBeans™:Component-Based Development for the J2EE™ Platform, Second Edition
By Vlada Matena, Sanjeev Krishnan, Linda DeMichiel, Beth Stearns
Publisher: Addison Wesley
Pub Date: May 30, 2003
ISBN: 0-201-91466-2
Pages: 496
   The Java™ Series
      Conventions Used in This Book
      Other Sources of Information
      Note about the Example Applications
      Contents of the Book
   Chapter 1.  Advantages of the Enterprise JavaBeans Architecture
      Section 1.1.  From a Two-Tier to a J2EE Architecture
      Section 1.2.  Advantages of the Architecture
      Section 1.3.  Conclusion
   Chapter 2.  Enterprise JavaBeans Architecture Overview
      Section 2.1.  Enterprise JavaBeans Applications
      Section 2.2.  Business Entities and Processes, and Enterprise Bean Types
      Section 2.3.  Structure of Enterprise Beans
      Section 2.4.  Container Tools and Services
      Section 2.5.  Conclusion
   Chapter 3.  Enterprise JavaBeans Roles
      Section 3.1.  EJB Roles
      Section 3.2.  Tools
      Section 3.3.  Conclusion
   Chapter 4.  Working with Session Beans
      Section 4.1.  When to Use Session Beans
      Section 4.2.  Understanding the State of a Session Object
      Section 4.3.  Overview of the Example Application
      Section 4.4.  EnrollmentEJB Stateful Session Bean in Detail
      Section 4.5.  PayrollEJB Stateless Session Bean
      Section 4.6.  Database Schemas
      Section 4.7.  Container-Provided Benefits
      Section 4.8.  Conclusion
   Chapter 5.  Session Bean in Its Container
      Section 5.1.  Container Artifacts
      Section 5.2.  How the Container Manages Session Beans at Runtime
      Section 5.3.  Conclusion
   Chapter 6.  Using Message-Driven Beans and Connectors
      Section 6.1.  JMS and Communication Modes
      Section 6.2.  Message-Driven Bean Concepts
      Section 6.3.  Using a Message-Driven Bean in the Benefits Application
      Section 6.4.  Using JMS and Connectors for Communication
      Section 6.5.  Conclusion
   Chapter 7.  Understanding Entity Beans
      Section 7.1.  Client View of an Entity Bean
      Section 7.2.  Bean Developer View of an Entity Bean
      Section 7.3.  Timer Service
      Section 7.4.  Conclusion
   Chapter 8.  Entity Bean Application Example
      Section 8.1.  Application Overview
      Section 8.2.  Parts Developed by Wombat
      Section 8.3.  Parts Developed at Star Enterprise
      Section 8.4.  Conclusion
   Chapter 9.  Using Enterprise JavaBeans in Web Services
      Section 9.1.  Introduction to Web Services
      Section 9.2.  Developing a Web Service Using Stateless Session Beans
      Section 9.3.  Stateless Session Bean Web Service Example
      Section 9.4.  Accessing a Web Service from an Enterprise Bean
      Section 9.5.  Document-Oriented Web Services
      Section 9.6.  Conclusion
   Chapter 10.  Understanding Transactions
      Section 10.1.  Declarative Transaction Demarcation
      Section 10.2.  Programmatic Transaction Demarcation
      Section 10.3.  Conclusion
   Chapter 11.  Managing Security
      Section 11.1.  Responsibilities of the System Administrator
      Section 11.2.  Responsibilities of the Container Provider
      Section 11.3.  Application Provider's View of Security
      Section 11.4.  Deployer's Responsibility
      Section 11.5.  Conclusion
   Appendix A.  Code Samples
      Section A.1.  Session Bean Helper Classes
      Section A.2.  EnrollmentBean Source Code
      Section A.3.  PayrollEJB Session Bean Class
      Section A.4.  Entity Application EnrollmentBean Implementation
      Section A.5.  SelectionBean Implementation
      Section A.6.  PlanBean Implementation Class
      Section A.7.  EmployeeBeanBMP Class
      Section A.8.  PayrollBean Implementation Class Using Connectors
      Section A.9.  CCI Interface Classes
      Section A.10.  InsurancePlanAdminBean Class
      Section A.11.  InsurancePlanAdmin WSDL Description
      Section A.12.  ProvidencePlanBean Class
      Section A.13.  ProvidenceDoctorBean Class
      Section A.14.  Command Beans