This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ejb-link and ejb-ref-name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb-link and ejb-ref-name" Watch "ejb-link and ejb-ref-name" New topic
Author

ejb-link and ejb-ref-name

aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
Q)What is the difference between <ejb-link> tag and <ejb-ref-name> tag
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
From the DTD file:
The value of the ejb-link element must be the ejb-name of an
enterprise bean in the same ejb-jar file or in another ejb-jar
file
in the same J2EE application unit.
In other words, while the ejb-name element specifies the logical name with which the referenced EJB can be accessed, the ejb-link element specifies to the container where to find that particular EJB.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
GeeCON Prague 2014
 
subject: ejb-link and ejb-ref-name