Chapter 5. Stateful Session Beans
Topics in This Chapter
Introducing Stateful Session Beans
Implications of Stateful vs. Stateless EJBs
Leveraging your EJB Components
Extending Multiple Interfaces
Value List Iterator Pattern
Example with a JSP Client
Local Interfaces
In the previous two chapters, we explored the design of stateless session beans. The most important characteristic of a stateless session bean is that it does not retain client-specific data. Thus, multiple clients can share stateless session beans, providing performance benefits. Stateless session beans also provide important business processes, but the results are transient, even during a session. Although a method of a stateless session bean could keep track of client-specific data, ...
Get Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications 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.