Books & Videos

Table of Contents

  1. The EJB 3.0 Standard

    1. Chapter 1 Introduction

      1. Server-Side Components
      2. Persistence and Entity Beans
      3. Asynchronous Messaging
      4. Web Services
      5. Titan Cruises: An Imaginary Business
      6. What's Next?
    2. Chapter 2 Architectural Overview

      1. The Entity Bean
      2. The Enterprise Bean Component
      3. Using Enterprise and Entity Beans
      4. The Bean-Container Contract
      5. Summary
    3. Chapter 3 Resource Management and Primary Services

      1. Resource Management
      2. Primary Services
      3. What's Next?
    4. Chapter 4 Developing Your First Beans

      1. Developing an Entity Bean
      2. Developing a Session Bean
    5. Chapter 5 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. Resource Local Transactions
    6. Chapter 6 Mapping Persistent Objects

      1. The Programming Model
      2. Basic Relational Mapping
      3. Primary Keys
      4. Property Mappings
      5. Multitable Mappings with @SecondaryTable
      6. @Embedded Objects
    7. Chapter 7 Entity Relationships

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

      1. Single Table per Class Hierarchy
      2. Table per Concrete Class
      3. Table per Subclass
      4. Mixing Strategies
      5. Nonentity Base Classes
    9. Chapter 9 Queries and EJB QL

      1. Query API
      2. EJB QL
      3. Native Queries
      4. Named Queries
    10. Chapter 10 Entity Callbacks and Listeners

      1. Callback Events
      2. Callbacks on Entity Classes
      3. Entity Listeners
    11. Chapter 11 Session Beans

      1. The Stateless Session Bean
      2. SessionContext
      3. The Life Cycle of a Stateless Session Bean
      4. The Stateful Session Bean
      5. The Life Cycle of a Stateful Session Bean
      6. Stateful Session Beans and Extended Persistence Contexts
      7. Nested Stateful Session Beans
    12. Chapter 12 Message-Driven Beans

      1. JMS and Message-Driven Beans
      2. JMS-Based Message-Driven Beans
      3. The Life Cycle of a Message-Driven Bean
      4. Connector-Based Message-Driven Beans
      5. Message Linking
    13. Chapter 13 Timer Service

      1. Titan's Maintenance Timer
      2. Timer Service API
      3. Transactions
      4. Stateless Session Bean Timers
      5. Message-Driven Bean Timers
      6. Final Words
    14. Chapter 14 The JNDI ENC and Injection

      1. The JNDI ENC
      2. Reference and Injection Types
    15. Chapter 15 Interceptors

      1. Intercepting Methods
      2. Interceptors and Injection
      3. Intercepting Life Cycle Events
      4. Exception Handling
      5. Interceptor Life Cycle
      6. Bean Class @AroundInvoke Methods
      7. Future Interceptor Improvements
    16. Chapter 16 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
    17. Chapter 17 Security

      1. Authentication and Identity
      2. Authorization
      3. The RunAs Security Identity
      4. Programmatic Security
    18. Chapter 18 EJB 3.0: 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
    19. Chapter 19 EJB 3.0 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
    20. Chapter 20 Java EE

      1. Servlets
      2. JavaServer Pages
      3. Web Components and EJB
      4. Filling in the Gaps
      5. Fitting the Pieces Together
    21. Chapter 21 EJB Design in the Real World

      1. Predesign: Containers and Databases
      2. Design
      3. Should You Use EJBs?
      4. Wrapping Up
  2. The JBoss Workbook

    1. Chapter 22 Introduction

      1. Contents of the JBoss Workbook
    2. Chapter WORKBOOK 1 JBoss Installation and Configuration

      1. About JBoss
      2. Installing the JBoss Application Server
      3. A Quick Look at JBoss Internals
      4. Exercise Code Setup and Configuration
    3. Chapter WORKBOOK 2 Exercises for Chapter 4

      1. Exercise 4.1: Your First Beans with JBoss
      2. Exercise 4.2: JNDI Binding with Annotations
      3. Exercise 4.3: JNDI Binding with XML
    4. Chapter WORKBOOK 3 Exercises for Chapter 5

      1. Exercise 5.1: Interacting with EntityManager
      2. Exercise 5.2: Standalone Persistence
    5. Chapter WORKBOOK 4 Exercises for Chapter 6

      1. Exercise 6.1: Basic Property Mappings
      2. Exercise 6.2: @IdClass
      3. Exercise 6.3: @EmbeddedId
      4. Exercise 6.4: Multitable Mappings
      5. Exercise 6.5: Embeddable Classes
    6. Chapter WORKBOOK 5 Exercises for Chapter 7

      1. Exercise 7.1: Cascading
      2. Exercise 7.2: Inverse Relationships
      3. Exercise 7.3: Lazy Initialization
    7. Chapter WORKBOOK 6 Exercises for Chapter 8

      1. Exercise 8.1: Single Table per Hierarchy
      2. Exercise 8.2: Single Table per Hierarchy
      3. Exercise 8.3: JOINED Inheritance Strategy
    8. Chapter WORKBOOK 7 Exercises for Chapter 9

      1. Exercise 9.1: Query and EJB QL Basics
    9. Chapter WORKBOOK 8 Exercises for Chapter 10

      1. Exercise 10.1: Entity Callbacks
      2. Exercise 10.2: Entity Listeners
    10. Chapter WORKBOOK 9 Exercises for Chapter 11

      1. Exercise 11.1: Stateless Session Bean
      2. Exercise 11.2: XML Override
      3. Exercise 11.3: Annotationless Stateless Session Bean
      4. Exercise 11.4: Stateful Session Bean
      5. Exercise 11.5: Annotationless Stateful Session Bean
    11. Chapter WORKBOOK 10 Exercises for Chapter 12

      1. Exercise 12.1: The Message-Driven Bean
    12. Chapter WORKBOOK 11 Exercises for Chapter 13

      1. Exercise 13.1: EJB Timer Service
    13. Chapter WORKBOOK 12 Exercises for Chapter 15

      1. Exercise 15.1: EJB Interceptors
      2. Exercise 15.2: Intercepting EJB Callbacks
    14. Chapter WORKBOOK 13 Exercises for Chapter 16

      1. Exercise 16.1: Conversational Persistence Contexts
    15. Chapter WORKBOOK 14 Exercises for Chapter 17

      1. Exercise 17.1: Security
      2. Exercise 17.2: Securing Through XML
    16. Chapter WORKBOOK 15 Exercises for Chapter 19

      1. Exercise 19.1: Exposing a Stateless Bean
      2. Exercise 19.2: Using a .NET Client
  3. Appendix

    1. Appendix JBoss Database Configuration

      1. Set Up the Database
      2. Examine the persistence.xml File
      3. Start Up JBoss
      4. Build and Deploy the Example Programs
      5. Examine and Run the Client Applications
  1. Colophon