Session Beans - Home Interaface
Home interface
- creates a new EJB Object,
- removes an EJB Object,
- returns the metadata containing information about the enterprise bean. Returned object implements javax.ejb.EJBMetaData interface and can be used by application assembly tools and scripting, and
- returns a handle object for the home.
EJB Object delegates the remote interface calls to the enterprise bean implementation.
EJB Object additionally provides operations to get the home’s reference, object’s handle, test whether two EJB Objects are identical, and remove the object.
Session beans are created for the requesting client therefore they have no identity and their home interface does not define finder pattern.