O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

Summary

In this chapter we examined the process of integrating EJBs into our movie store application. EJBs are not a requirement for every application, and EJBs could be used partially in an application. In fact, this chapter demonstrated a partial implementation; the demonstration code shown in this chapter used EJBs only for the shopping cart portion of the movie store.

We refactored the shopping cart bean in this chapter to use an EJB to perform the processing of the shopping cart. A presentation tier component, a JavaBean, is used as a proxy to communicate with the EJB. The shopping cart EJB simply extended the shopping cart JavaBean developed in the previous chapter and exposed the methods needed by the presentation tier proxy.

We also looked ...

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