• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what is the use of ejb-link

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic