0
Explain @javax.ejb.EJB annotation.t

Open 1 Answers 39 Views Technology

Explain @javax.ejb.EJB annotation.

1 Answer

0

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

by (274k points)
...