Chapter 1. Introduction to EJB3

Table of Contents

1.1. Overview
1.2. Why EJB3 ?
1.3. EJB2 vs EJB3 : EoD
1.4. What's new
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 called JAVA EE 5. ( http://java.sun.com/javaee/5/ )

The EJB3 specification is also called JSR 220, which can be found at http://www.jcp.org/en/jsr/detail?id=220

it is divided in three parts :

  1. Core part

  2. Persistence part (Which is the persistence provider)

  3. Simplified specification : it contains new features.

The EJB3 persistence provider are plugged into the EJB3 container. The persistence provider available are Hibernate, Speedo (An ObjectWeb product), etc.