JavaScript is disabled on your browser.
Skip navigation links
javax.ejb

Annotation Type RemoteHome



  • @Target(value=TYPE)
     @Retention(value=RUNTIME)
    public @interface RemoteHome
    Declares the remote home interface or adapted remote home interface for a session bean. The value is never a 2.x remote component interface.

    Clients written to the EJB 2.1 and earlier client view depend upon the existence of a home and component interface. A session bean written to the EJB 3.x API may be adapted to such earlier preexisting client view interfaces.

    The session bean designates the home interface to be adapted by using the RemoteHome annotation on the bean class. The corresponding remote component interface need not be explicitly specified, as it is derived from the return type of remote home interface's create method signature.

    Session beans written to the EJB 3.0 and later APIs do not otherwise make use of remote home interfaces.

    Since:
    EJB 3.0
    See Also:
    Init, LocalHome
    • Required Element Summary

      Required Elements
      Modifier and Type Required Element and Description
      Class value
      The remote home interface
    • Element Detail

      • value

        public abstract Class value
        The remote home interface
Skip navigation links

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /