Skip to Main Content
Java Message Service, 2nd Edition
book

Java Message Service, 2nd Edition

by Mark Richards, Richard Monson-Haefel, David A Chappell
May 2009
Intermediate to advanced content levelIntermediate to advanced
330 pages
10h 34m
English
O'Reilly Media, Inc.
Content preview from Java Message Service, 2nd Edition

Enterprise JavaBeans 3.0 (EJB3) Overview

The release of the EJB3 (JSR-220) specification in 2006 marked a significant turning point for EJB and Java EE in general. The primary theme of EJB3 is simplification and it achieves this goal very nicely. In addition to simplifying the development and deployment of Enterprise JavaBeans, the EJB3 specification added a new ORM-based persistence framework called JPA aimed at replacing the EJB 2.1 Entity Beans (which are no longer supported in EJB3).

One of the goals of the EJB3 specification is to address several issues found in the EJB 2.1 specification. Some of these issues included the dependency on a framework for the development of Enterprise JavaBeans (i.e., implementing and extending specific EJB interfaces), the need for home and remote interfaces, verbose and complex XML deployment descriptors, and the Entity Bean persistence model.

One of the significant productivity improvements in EJB3 is the use of Java metadata annotations over XML deployment descriptors (e.g., ejb-jar.xml). Of course, you can still choose to use XML deployment descriptors rather than annotations or you can use both XML and annotations together. When used in conjunction with annotations, the XML deployment descriptor overrides any matching configuration specified by the metadata annotation.

Other major features of the EJB3 framework include simplified bean development, the use of dependency injection, simplified callback methods for session and message-driven beans, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reactive Systems in Java

Reactive Systems in Java

Clement Escoffier, Ken Finnigan
Java 8 in Action

Java 8 in Action

Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma
The Well-Grounded Java Developer, Second Edition

The Well-Grounded Java Developer, Second Edition

Benjamin Evans, Martijn Verburg, Jason Clark

Publisher Resources

ISBN: 9780596802264Supplemental ContentErrata Page