Chapter 5. Session Beans and Message-Driven Beans

The primary business entities of the book-selling world—books, shopping carts, and orders—are now implemented as Entity Beans. These Entity Beans form the basis for realizing some of the functionality stipulated in use cases UC3, UC4, and UC5; Shoppers can now find Books (via BookHome) and add them to their ShoppingCarts, and Administrators can add and remove books from the inventory. This functionality is at a relatively low level, however; most of the system’s business-level functionality remains unimplemented.

This chapter introduces Session Beans and Message-Driven Beans, which are used to implement BookEaz’s higher-level business ...

Get EJB™ 2.1 Kick Start now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.