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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.