• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the use of ejb-link

 
sid nagol
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
1. what is the purpose of ejb-link element.. if ejb-ref element.
After we have specified the home and remote interfaces, what is the purpose of linking it.
can somebody please give an example.

thank you very much for your time.
 
Sirajudeen Mohamed
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sid,
If the bean we are referring is not in the same ejb jar, we use <ejb-link> tag to specify the the ejb name with the complete path of the ejb-jar file.
Hope this helps.

Thanks
Siraj
 
sid nagol
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Siraj
thank yuou very much for your time
that answered my question,but i got few more questions from that.
lets say
1) if the ejb is in the same jar
then i mustnot specify the link, or is it ok even if i specify it
2) if the ejb is in another jar
then is it a must i specify ejb-link.
if it is not a must here, does that mean ejb-link is for decorational purpose??
thanks for
sid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic