1 | 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". |
2 | 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) |
3 | 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. |