Getting Started with Enterprise JavaBeans™

G

Entity Beans

Tutorial Home Section Home Previous Section Next

Get

Get

Entity Beans with Bean-Managed Persistence

     The primary difference between BMP and CMP is that, under BMP, developers must write their own datastore access and persistence routines, and respond appropriately to life cycle related calls and callbacks. The bean must provide a public, no-arg constructor for instance creation (invoked by the container).

     The bean implements the following methods (for information on the sequence of events, see The Entity Bean Life Cycle):



Tutorial Home Section Home Previous Section Next