Sample Program: Implementing the ItemBean Entity Bean in the Restaurant Application Using BMP

For your sample program today, you will use and modify the restaurant application that you have built over the past few days. Yesterday, you used CMP to build the entity bean. To help you understand the differences between using BMP and using CMP to build an entity bean, today you will build the same ItemBean using BMP. Take a look at Listing 13.1, which shows the source code of the ItemBean.

Listing 13.1. ItemBean.java
 /****************************************************************************** * Class Name : ItemBean.java * Description : Bean Class for the ItemBean bean. * Implements the methods defined in the Home and Remote * interfaces. These ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days 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.