Java Reference
In-Depth Information
Cooking session beans
Our singleton EJB is equipped with the methods to handle our store of theatre seats. We
will now add a couple of session beans to our project to manage the business logic, a state-
less session bean that will provide a view of the theatre seats and stateful beans that will
behave as a payment gateway to our system.
The choice of splitting our information system into two different beans is not part of a
design pattern in particular, but serves a different purpose. That is, we would like to show
how to look up both types of beans from a remote client.
Search WWH ::

Custom Search