0 votes
in Technology by (326k points)

Explain @javax.ejb.EJB annotation.

1 Answer

0 votes
by (326k points)

@javax.ejb.EJB annotation is used to specify or inject a dependency as ejb instance into another ejb. Following are its attributes:

  • name - Used to specify name which will be used to locate the referenced bean in environment.

  • beanInterface - Used to specify the interface type of the referenced bean.

  • beanName - Used to provide name of the referenced bean.

  • mappedName - Used to specify the JNDI name of the referenced bean.

  • description - Used to provide description of the referenced bean.

Related questions

0 votes
1 answer
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)
...