0
Explain @javax.ejb.Local annotation

Open 1 Answers 67 Views Technology

Explain @javax.ejb.Local annotation

1 Answer

0

@javax.ejb.Local annotation is used to specify Local interface(s) of a session bean. This local 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 local clients which are running in same deployment/application as EJB.

Following are its attributes:

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

by (274k points)
...