Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. Setting the Stage

    2. Enterprise JavaBeans Defined

    3. Distributed Object Architectures

    4. Component Models

    5. Component Transaction Monitors

    6. CTMs and Server-Side Component Models

    7. Titan Cruises: An Imaginary Business

    8. What’s Next?

  2. Chapter 2 Architectural Overview

    1. The Enterprise Bean Component

    2. Using Enterprise Beans

    3. The Bean-Container Contract

    4. Summary

  3. Chapter 3 Resource Management and the Primary Services

    1. Resource Management

    2. Primary Services

    3. What’s Next?

  4. Chapter 4 Developing Your First Enterprise Beans

    1. Choosing and Setting Up an EJB Server

    2. Developing an Entity Bean

    3. Developing a Session Bean

  5. Chapter 5 The Client View

    1. Locating Beans with JNDI

    2. The Remote Client API

    3. EJB 2.0: The Local Client API

  6. Chapter 6 EJB 2.0 CMP: Basic Persistence

    1. Overview

    2. The Customer EJB

    3. Persistence Fields

    4. Dependent Value Classes

    5. Relationship Fields

  7. Chapter 7 EJB 2.0 CMP: Entity Relationships

    1. The Seven Relationship Types

  8. Chapter 8 EJB 2.0 CMP: EJB QL

    1. Declaring EJB QL

    2. The Query Methods

    3. EJB QL Examples

    4. Problems with EJB QL

  9. Chapter 9 EJB 1.1 CMP

    1. A Note for EJB 2.0 Readers

    2. Overview for EJB 1.1 Readers

    3. Container-Managed Persistence

  10. Chapter 10 Bean-Managed Persistence

    1. The Remote Interface

    2. The Remote Home Interface

    3. The Primary Key

    4. The ShipBean

    5. Obtaining a Resource Connection

    6. Exception Handling

    7. The ejbCreate( ) Method

    8. The ejbLoad( ) and ejbStore( ) Methods

    9. The ejbRemove( ) Method

    10. The ejbFind( ) Methods

    11. The Deployment Descriptor

  11. Chapter 11 The Entity-Container Contract

    1. The Primary Key

    2. The Callback Methods

    3. EJB 2.0: ejbHome( )

    4. EntityContext

    5. The Life Cycle of an Entity Bean

  12. Chapter 12 Session Beans

    1. The Stateless Session Bean

    2. The Life Cycle of a Stateless Session Bean

    3. The Stateful Session Bean

    4. The Life Cycle of a Stateful Session Bean

  13. Chapter 13 Message-Driven Beans

    1. JMS as a Resource

    2. Message-Driven Beans

  14. Chapter 14 Transactions

    1. ACID Transactions

    2. Declarative Transaction Management

    3. Isolation and Database Locking

    4. Nontransactional Beans

    5. Explicit Transaction Management

    6. Exceptions and Transactions

    7. Transactional Stateful Session Beans

  15. Chapter 15 Design Strategies

    1. Hash Codes in Compound Primary Keys

    2. Passing Objects by Value

    3. Improved Performance with Session Beans

    4. Bean Adapters

    5. Implementing a Common Interface

    6. Entity Beans Without Create Methods

    7. EJB 1.1: Object-to-Relational Mapping Tools

    8. Avoid Emulating Entity Beans with Session Beans

    9. Direct Database Access from Session Beans

    10. Avoid Chaining Stateful Session Beans

  16. Chapter 16 XML Deployment Descriptors

    1. What Is an XML Deployment Descriptor?

    2. The Contents of a Deployment Descriptor

    3. The Document Header

    4. The Descriptor’s Body

    5. Describing Enterprise Beans

    6. EJB 2.0: Describing Relationships

    7. Describing Bean Assembly

    8. The ejb-jar File

  17. Chapter 17 Java 2, Enterprise Edition

    1. Servlets

    2. JavaServer Pages

    3. Web Components and EJB

    4. J2EE Fills in the Gaps

    5. Fitting the Pieces Together

    6. Future Enhancements

  1. Appendix The Enterprise JavaBeans API

    1. Package: javax.ejb

    2. EJB 2.0: Package: javax.jms

    3. EJB 2.0: Package: javax.ejb.spi

  2. Appendix State and Sequence Diagrams

    1. Entity Beans

    2. Session Beans

  3. Appendix EJB Vendors

    1. Commercial Products

    2. Open Source Projects

  4. Colophon