Chapter 1. Introduction to EJB3

Table of Contents

1.1. Overview
1.2. The Advantage of EJB3
1.3. EJB2 vs EJB3: EoD
1.4. New Features
1.4.1. Metadata Annotations
1.4.2. Business Interceptors
1.4.3. Lifecycle Interceptors
1.4.4. Dependency Injection
1.4.5. Persistence

1.1. Overview

EJB3 is included in the next J2EE specification, JAVA EE 5. ( http://java.sun.com/javaee/5/ )

The EJB3 specification is defined in JSR 220, which can be found at the following location: http://www.jcp.org/en/jsr/detail?id=220

The publication is published as three separate files:

  1. The core

  2. The persistence provider

  3. The simplified specification, which contains new features

The EJB3 persistence provider is plugged into the EJB3 container. Available persistence providers are: Hibernate, Speedo (An ObjectWeb product), etc.