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.
KeywordsTime Service Shopping Cart Public Class Remote Method Invocation Public Void
Unable to display preview. Download preview PDF.