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


1 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.
2 unsetEntityContext() method should be used by an instance to release any resources that has been used by the instance.
3 ejbCreate() inserts a record representing the entity into the database. It returns a primary key for this entity.
4 For each ejbCreate() method, a bean has to implement ejbPostCreate() method with the same input parameters , and void return type instead of primary key.

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