EJB 2.0 Development with WebSphere Studio Application Developer
by Ueli Wahli, Wouter Denayer, Lars Schunk, Deborah Shaddon, Martin Weiss
Design
We develop a stateless session bean (Banking) to serve as session facade for the ITSO bank business logic. This bean exposes several methods that allow a client to perform banking transactions, such as asking for the balance, depositing and withdrawing funds, transfering funds from one account to another, and listing the transaction records.
We also develop a stateful session bean (Reports) for reporting purposes. This bean enables a client to run multiple reports without losing the context, that is the customer and account numbers. This bean uses EQB-QL queries to retrieve customer and account information.
Throughout the book, several clients will use these session beans:
Servlet client—“Developing a servlet client” on page 590
Struts ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access