Remote annotation is applied to the session bean class or remote
business interface to designate a remote business interface of the bean.
When used on an interface, designates that interface as a remote
business interface. In this case, no
value element should
Remote annotation applies only to session beans and
public abstract Class value
valueelement is specified only when the annotation is applied to the bean class. It is only required to be specified if any of the following is true:
Remoteannotation on the interface, and at least one other interface (excluding
java.io.Externalizable, and any of the interfaces defined by the
javax.ejbpackage) has no designation.
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.