Books & Videos

Table of Contents

  1. Why Enterprise JavaBeans?

    1. Chapter 1 Introduction

      1. The Problem Domain
    2. Chapter 2 Component Types

      1. Server-Side Component Types
      2. Entity Beans
      3. The Model Isn’t Everything
    3. Chapter 3 Container Services

      1. Dependency Injection (DI)
      2. Concurrency
      3. Instance Pooling/Caching
      4. Transactions
      5. Security
      6. Timers
      7. Naming and Object Stores
      8. Interoperability
      9. Lifecycle Callbacks
      10. Interceptors
      11. Platform Integration
      12. Bringing It Together
    4. Chapter 4 Developing Your First EJBs

      1. Step 1: Preparation
      2. Step 2: Coding the EJB
      3. Summary
  2. Server-Side Component Models

    1. Chapter 5 The Stateless Session Bean

      1. The XML Deployment Descriptor
      2. SessionContext
      3. The Lifecycle of a Stateless Session Bean
      4. Example: The EncryptionEJB
      5. Asynchronous Methods
    2. Chapter 6 The Stateful Session Bean

      1. The Lifecycle of a Stateful Session Bean
      2. Example: The FileTransferEJB
    3. Chapter 7 The Singleton Session Bean

      1. Concurrency
      2. Lifecycle
      3. Example: The RSSCacheEJB
    4. Chapter 8 Message-Driven Beans

      1. JMS and Message-Driven Beans
      2. JMS-Based Message-Driven Beans
      3. The Lifecycle of a Message-Driven Bean
      4. Connector-Based Message-Driven Beans
      5. Message Linking
  3. EJB and Persistence

    1. Chapter 9 Persistence: EntityManager

      1. Entities Are POJOs
      2. Managed Versus Unmanaged Entities
      3. Packaging a Persistence Unit
      4. Obtaining an EntityManager
      5. Interacting with an EntityManager
      6. Example: A Persistent Employee Registry
    2. Chapter 10 Mapping Persistent Objects

      1. The Programming Model
      2. Basic Relational Mapping
      3. Primary Keys
      4. Property Mappings
      5. @Embedded Objects
    3. Chapter 11 Entity Relationships

      1. The Seven Relationship Types
      2. Mapping Collection-Based Relationships
      3. Detached Entities and FetchType
      4. Cascading
    4. Chapter 12 Entity Inheritance

      1. Single Table per Class Hierarchy
      2. Table per Concrete Class
      3. Table per Subclass
      4. Mixing Strategies
      5. Nonentity Base Classes
    5. Chapter 13 Queries, the Criteria API, and JPA QL

      1. Query API
      2. JPA QL
      3. Native Queries
      4. Named Queries
    6. Chapter 14 Entity Callbacks and Listeners

      1. Callback Events
      2. Callbacks on Entity Classes
      3. Entity Listeners
  4. Container Services

    1. Chapter 15 Security

      1. Authentication and Identity
      2. Authorization
      3. Example: A Secured School
    2. Chapter 16 JNDI, the ENC, and Injection

      1. Global JNDI
      2. The JNDI ENC
      3. Reference and Injection Types
    3. Chapter 17 Transactions

      1. ACID Transactions
      2. Declarative Transaction Management
      3. Isolation and Database Locking
      4. Nontransactional EJBs
      5. Explicit Transaction Management
      6. Exceptions and Transactions
      7. Transactional Stateful Session Beans
      8. Conversational Persistence Contexts
    4. Chapter 18 Interceptors

      1. Intercepting Methods
      2. Interceptors and Injection
      3. Intercepting Lifecycle Events
      4. Exception Handling
      5. Interceptor Lifecycle
      6. Bean Class @AroundInvoke Methods
    5. Chapter 19 Timer Service

      1. Example: A Batch Credit Card Processing System
      2. Transactions
      3. Stateless Session Bean Timers
      4. Message-Driven Bean Timers
    6. Chapter 20 EJB 3.1: Web Services Standards

      1. Web Services Overview
      2. XML Schema and XML Namespaces
      3. SOAP 1.1
      4. WSDL 1.1
      5. UDDI 2.0
      6. From Standards to Implementation
    7. Chapter 21 EJB 3.1 and Web Services

      1. Accessing Web Services with JAX-RPC
      2. Defining a Web Service with JAX-RPC
      3. Using JAX-WS
      4. Other Annotations and APIs
      5. JAXB
      6. Conclusion
  5. Examples

    1. Appendix FirstEJB Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    2. Appendix Stateless Session EJB: Encryption Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    3. Appendix Stateful Session EJB: FTP Client Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    4. Appendix Singleton Session EJB: RSS Cache Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    5. Appendix Message-Driven EJB: Status Update Listeners Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    6. Appendix Java Persistence APIs: Employee Registry Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    7. Appendix Security: Secured School Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    8. Appendix Transactions: Blackjack Game Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    9. Appendix Interceptors: TV Channel Service Example

      1. Description
      2. Online Companion Information
      3. Source Listing
    10. Appendix Timer Service: Credit Card Processor Example

      1. Description
      2. Online Companion Information
      3. Source Listing
  1. Colophon