+

Search Tips   |   Advanced Search

EJBs 3.0 specification


This page describes the EJBs 3.0 specification that is the foundation of the development and application model for the EJB 3.0 applications. Read this topic for a brief overview of the EJB 3.0 specification.

The EJB 3.0 spec has justifiably been called the most important upgrade to the Java EE 5 (Java EE 5) programming model. The EJB 3.0 spec represents simplification and streamlining of the business logic and persistence models used in Java EE. The ultimate source of information is the specification, which is available on the Sun Microsystems, Inc., Web site at http://java.sun.com.

While the Java Persistence API (JPA) replacement is called an entity class, it should not be confused with entity enterprise beans. A JPA entity is not an enterprise bean and is not required to run in an EJB container.

The EJB 3.0 spec is organized into three areas:

The EJB core contracts and requirements defines the service provider interfaces (SPIs) between the enterprise bean instance and the enterprise bean container. This part of the spec also includes the APIs between the enterprise bean provider and the enterprise bean container, protocols, component and container contracts, system level issues, infrastructure services that are provided by the container to the bean and other information about development packaging and deployment for session, message-driven and entity beans.

The EJB 3.0 simplified API provides information about simplifying EJB APIs and SPIs that exist from previous EJB spec versions.

The JPA document introduces the Plain Old Java Object (POJO)-style persistent entity development guidelines.

Another good source for EJB 3.0 information is Mastering Enterprise Java Beans 3.0, Fourth Edition. This edition features chapters on session beans and message-driven beans, EJB and Java EE integration and advanced persistence concepts. Also included is coverage of the JPA and POJO using entities with the EJB model.




Related concepts


Learn about WebSphere applications: New features

 

Related tasks


Develop enterprise beans
Task overview: Using enterprise beans in applications
Task overview: Storing and retrieving persistent data with the Java Persistence API (JPA)