Chapter 7. Session Beans and the Timer Service

From Chapter 2 to Chapter 5, I focused on persistent objects using JPA entities. Entities encapsulate data, relational mapping, and sometimes validation logic. I will now show you how to develop a business layer that handles these persistent objects using session beans. Session beans handle complex tasks that require interaction with other components (entities, web services, messaging, etc.). This logical separation between entities and session beans follows the "separation of concerns" paradigm wherein an application is split into separate components whose functions overlap as little as possible.

In this chapter, you will learn about the three different types of session beans: stateless, stateful, ...

Get Beginning Java™ EE 6 Platform with GlassFish™ 3: From Novice to Professional now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.