Basic HTML version of Foils prepared July 6 99

Foil 44 Entity Beans / Callbacks - I

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


setEntityContext() method can be used by an instance to allocate any resource that is going to be used during the life time of this instance.
unsetEntityContext() method should be used by an instance to release any resources that has been used by the instance.
ejbCreate() inserts a record representing the entity into the database. It returns a primary key for this entity.
For each ejbCreate() method, a bean has to implement ejbPostCreate() method with the same input parameters , and void return type instead of primary key.



© 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