javax.ejb.Handle Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
package javax.ejb;
import java.rmi.RemoteException;
/**
* The Handle interface is implemented by all EJB object handles. A handle
* is an abstraction of a network reference to an EJB object. A handle is
* intended to be used as a "robust" persistent reference to an EJB object.
*/
public interface Handle extends java.io.Serializable {
/**
* Obtains the EJB object reference represented by this handle.
*
* @return The EJB object reference represented by this handle.
* @exception java.rmi.RemoteException - The EJB object could not be obtained because of a
* system-level failure.
*/
public EJBObject getEJBObject() throws RemoteException;
}