@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Remote
The 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
be provided.
The Remote
annotation applies only to session beans and
their interfaces.
public abstract Class[] value
value
element is specified only when the annotation is applied to the bean class.
It is required to be specified if any of the following is true:
Remote
annotation on the interface,
while others (excluding java.io.Serializable
,
java.io.Externalizable
, and any of the interfaces
defined by the javax.ejb
package) are not designated as such.
Copyright © 2013. All Rights Reserved.