Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb-link and ejb-ref-name

 
aakash bhatt
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q)What is the difference between <ejb-link> tag and <ejb-ref-name> tag
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic