The remote 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 home interface.
| Modifier and Type | Method and Description |
|---|---|
| public EJBMetaData | Returns: The enterprise Bean's EJBMetaData interface.Obtain the EJBMetaData interface for the enterprise bean. |
| public HomeHandle | Returns: A handle for the remote home object.Obtain a handle for the remote home object. |
| public void | |
| public void |
| getEJBMetaData | back to summary |
|---|---|
| public EJBMetaData getEJBMetaData() throws RemoteException Obtain the EJBMetaData interface for the enterprise bean. The EJBMetaData interface allows the client to obtain information about the enterprise bean. The information obtainable via the EJBMetaData interface is intended to be used by tools.
| |
| getHomeHandle | back to summary |
|---|---|
| public HomeHandle getHomeHandle() throws RemoteException Obtain a handle for the remote home object. The handle can be used at later time to re-obtain a reference to the remote home object, possibly in a different Java Virtual Machine.
| |
| remove | back to summary |
|---|---|
| public void remove(Handle handle) throws RemoteException, RemoveException Remove an EJB object identified by its handle.
| |
| remove | back to summary |
|---|---|
| public void remove(Object primaryKey) throws RemoteException, RemoveException Remove an EJB object identified by its primary key. This method can be used only for 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.
| |