1.

Explain @javax.ejb.ejb Annotation.

Answer»

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

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



Discussion

No Comment Found