Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb-ref

 
Swamy Nathan
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The lookupNameForCode specified by ejb-jar/enterprise-beans/<entity|session|message-driven>/ejb-ref/ejb-ref-name will have to be mapped to
==> the actual JNDI name in a vendorspecific fashion.
Or
==> is it actual bean using <ejb-link> tag.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, it can refer to another EJB name, even relative to another JAR in your EAR. If you need to link it to an EJB in a different EAR, or who-knows-where, then you would have to do it in a vendor-specific way (in JBoss, for example, you would leave the ejb-link blank, and include the JNDI lookup name in their JBoss-equivalent ejb-jar.xml file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic