O'Reilly logo

Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications by Paul Anderson, Gail Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required