public interface EJBLocalHomeThe EJBLocalHome interface must be extended by all enterprise beans' local home interfaces. An enterprise bean's local home interface defines the methods that allow local clients to create, find, and remove enterprise bean objects.
The local home interface is defined by the enterprise bean provider and implemented by the enterprise bean container.
Enterprise beans written to the EJB 3.0 and later APIs do not require a local home interface.
- EJB 2.0
void remove(java.lang.Object primaryKey) throws RemoveException, EJBExceptionRemove an enterprise bean object identified by its primary key.
This method can only be used by local clients of an entity bean. An attempt to call this method on a session bean will result in a RemoveException.
Note: Support for entity beans is optional as of EJB 3.2.