in Technology by

Explain @javax.ejb.Remote annotation.

Please log in or register to answer this question.

1 Answer

0 votes

@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.

Related questions