EJB references are declared with ejb-ref tag in the deployment descriptor. ejb-ref tag contains
-
(optional) description element
-
ejb-ref-name: EJB reference name for the environment entity in the context.
-
ejb-ref-type: expected type of enterprise bean (Session or Entity)
-
home: Java type of bean's home interface
-
remote: Java type of bean's remote interface
|
Application assembler tool can use the ejb-link element in ejb-ref to link EJB reference to a target enterprise bean.
|
Deployment tool creates entries in JNDI context for those variables.
|