Friday, April 25, 2008

USE OF EJB-LINK

What is ejb-ref:: ejb-link??
 
 
The ejb-link element is used in the ejb-ref or ejb-local-ref
elements to specify that an EJB reference is linked to an
enterprise bean. The path name is relative to the war file
containing the web application that is referencing the enterprise bean.
This allows multiple enterprise beans with the same ejb-name to be
uniquely identified.
 
 
ejb-link is used so that servlets from the same application unit can refer ejb. If we specify  then we don’t need to specify any thing in application server specific web.xml file(incase of jboss jboss-web.xml file)

No comments :

Post a Comment