Package jakarta.ejb

Interface Handle

  • All Superinterfaces:
    Serializable

    public interface Handle
    extends Serializable
    The Handle interface is implemented by all enterprise bean object handles. A handle is an abstraction of a network reference to an enterprise bean object. A handle is intended to be used as a "robust" persistent reference to an enterprise bean object.
    Since:
    EJB 1.0
    • Method Detail

      • getEJBObject

        EJBObject getEJBObject()
                        throws RemoteException
        Obtain the enterprise bean object reference represented by this handle.
        Returns:
        the enterprise bean object reference represented by this handle.
        Throws:
        RemoteException - The enterprise bean object could not be obtained because of a system-level failure.