All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.ejb.EJBHome

public interface interface EJBHome
extends Remote
The EJBHome interface is extended by all enterprise Bean's home interfaces. An enterprise Bean's home interface defines the methods that allow a client to create, find, and remove EJB objects.

Each enterprise Bean has a home interface. The home interface must extend the javax.ejb.EJBHome interface, and define the enterprise Bean type specific create and finder methods (session Beans do not have finders).

The home interface is defined by the enterprise Bean provider and implemented by the enterprise Bean container.


Method Index

 o getEJBMetaData()
Obtain the EJBMetaData interface for the enterprise Bean.
 o remove(Handle)
Remove an EJB object identified by its handle.
 o remove(Object)
Remove an EJB object identified by its primary key.

Methods

 o remove
 public abstract void remove(Handle handle) throws RemoteException, RemoveException
Remove an EJB object identified by its handle.

Throws: RemoveException
Thrown if the enterprise Bean or the container does not allow the client to remove the object.
Throws: RemoteException
Thrown when the method failed due to a system-level failure.
 o remove
 public abstract void remove(Object primaryKey) throws RemoteException, RemoveException
Remove an EJB object identified by its primary key.

Throws: RemoveException
Thrown if the enterprise Bean or the container does not allow the client to remove the object.
Throws: RemoteException
Thrown when the method failed due to a system-level failure.
 o getEJBMetaData
 public abstract 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.

Returns:
The enterprise Bean's EJBMetaData interface.
Throws: RemoteException
Thrown when the method failed due to a system-level failure.

All Packages  Class Hierarchy  This Package  Previous  Next  Index