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.3. Session Facade Pattern

Now that you've seen the three entity beans in our enterprise application, it's time to present the Session Facade session bean, CustomerSession EJB. The CustomerSession EJB is an enhanced version of the session bean we presented in Chapter 6 (see Listing 6.20 on page 256). For a detailed explanation of the Session Facade Pattern (and why you'd want to use it), see “Session Facade Pattern” on page 250. As you examine the code for the session facade, you'll see how it provides the business logic for a consistent interface to the three entity beans.

Figure 7-5 contains a more detailed diagram of the Session Facade implementation, including the three entity beans. The remote client access to the entity beans is through ...

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