7.4. Web Component Client
In Chapter 5, “Stateful Session Beans,” our web component allows users to select recording titles from a music database and place them in a virtual shopping cart. We represent the virtual shopping cart with a stateful session bean. In Chapter 6, “Entity Beans with BMP,” we add true database lookup for returning customers and the ability to sign up as a new customer using a Customer EJB and a session facade to provide the interface between the web component and the entity bean. In this chapter our online shopping application can create orders and add them to an underlying database. To do this, we enhance the session facade with the underlying support of entity beans Order EJB and LineItem EJB. Also, we include relationship ...
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.