0 votes
in Technology by (326k points)

Explain @javax.ejb.Local annotation

1 Answer

0 votes
by (326k points)

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

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 7, 2020 in Technology by JackTerrance (326k points)
0 votes
1 answer
asked Nov 7, 2020 in Technology by JackTerrance (326k points)
0 votes
1 answer
...