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