Basic HTML version of Foils prepared July 6 99

Foil 31 Entity Beans - Look Up

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


Entity Beans' home interface defines finder methods to look up an EJB Object or a collection of EJB Objects. The name of each finder method should be prefixed with "finder".
The return type of this methods is the Remote interface or a collection of EJB Objects (Enumeration in JDK 1.1 and Collection in JDK 1.2)
Entity Beans' home interface includes a findByPrimaryKey(primaryKey) method to look up an EJB Object with a primary Key. The return value of findByPrimaryKey() method is the Remote interface.



© 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