0 votes
in Technology by (1.7m points)

Explain @javax.ejb.Remote annotation.

1 Answer

0 votes
by (1.7m points)

@javax.ejb.Remote annotation is used to specify Remote interface(s) of a session bean. This remote interface states the business methods of the session bean (which can be stateless or stateful).

This interface is used to expose the business methods to remote clients which are running in different deployment/application as EJB.

Following are its attributes:

  • value - Used to specify the list of remote interfaces as an array of interfaces.

...