O'Reilly logo

Java EE 7 with GlassFish 4 Application Server by David R. Heffelfinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Enterprise JavaBeans

Enterprise JavaBeans are server side components that encapsulate business logic of an application. Enterprise JavaBeans simplify application development by automatically managing transaction management and security. There are two types of Enterprise JavaBeans: Session beans, which execute business logic, and message-driven beans, which act as a message listener.

Readers familiar with J2EE may notice that Entity Beans haven't been mentioned in the previous paragraph. In Java EE 5, Entity Beans were deprecated in favor of the Java Persistence API (JPA). Entity Beans are still supported for backwards compatibility, however, the preferred way of performing Object-relational mapping is through JPA.

The following topics ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required