Entity Bean Classes and Interfaces
As shown in Figure 22.3, there are many parts of an Entity bean. This section takes you through the required parts and the optional ones. It also shows the differences in requirements of BMP Entity beans and CMP Entity beans.
Figure 22.3. The classes and interfaces of an Entity bean.
Primary Keys
Every Entity beans stored in a data store has a primary key associated with it. A primary key is a unique identifier that's used to locate existing Entity beans in a data store. A primary key can consist of a single value, such as an integer, or multiple values, such as date of birth and last name. Every Entity bean ...
Get BEA WebLogic Server™ 8.1 Unleashed 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.