1.

Explain javax.ejb.Remote annotation.

Answer»

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.



Discussion

No Comment Found