Declaring the Home Interface
Every entity or session bean must have a home interface that extends javax.ejb.EJBHome,or a local home interface that extends javax.ejb.EJBLocalHome, or both. The home interface provides factory operations that allow clients to create and remove EJB instances. In the case of entity beans, this interface also allows clients to obtain references to existing entity beans and to execute business methods that aren’t specific to a particular entity object. The methods for removing an entity object are included for you in the declarations of EJBHome and EJBLocalHome, but you’re responsible for declaring your own methods to create and find entities and execute business logic.
Note
The EJB 2.0 Specification uses the term ...
Get Special Edition Using Enterprise JavaBeans™ 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.