Basic HTML version of Foils prepared July 6 99

Foil 34 Entity Beans / Handle - I

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


1 getHandle() method of EJB Object returns a Handle object identifying the corresponding EJB Object.
2 A Handle object is serializable (java.io.Serializable) so that a client may save this value and use it to obtain a reference to the same EJB Object from a different process or even system by passing this value to another client on another system.
3 The life time of Handle object is generally outlives the life time of the container since it generally refers a key representation in the persistent storage. For example employee records stay in this storage couple of years while server might observe crash every week or so.

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