Basic HTML version of Foils prepared July 6 99

Foil 55 Container-Managed Persistence - II

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


1 Container performs the database insert after ejbCreate() method completes.
2 Since the bean provider does not know the primary key class, it returns null from ejbCreate() method. Container defines a primary key for this entity and associates an EJB Object before it calls the ejbPostCreate() method on the instance.
3 ejbRemove() method is invoked in respond to client-initiated remove() operation. Container removes the entity from data store after the completion of ejbRemove() call.
4 ejbLoad() method is called after the container synchronizes the fields in the instance from the data base. ejbStore() method is called by the container and it saves the fields of the instance after the completion of this call.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999