• 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

weblogic-ejb-jar problem

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to all i have a problem in referencing another Bean from a diff Bean using weblogic server. if one would use
Context con = new InitialContext(props);
Object obj = con.lookup("java:comp/env/jndi name of otherbean");
Homebean home = PRO.narrow()
to reference a bean so what should be included in the ejb-jar.xml file is it
<ejb-ref>
<ejb-ref-name>ejb/Mysame</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>Sam2oneHome</home>
<remote>Sam2one</remote>
<ejb-link>Sam2oneBean</ejb-link>
</ejb-ref>
then what should I put in the weblogic-ejb-jar.xml file to reference the other bean can somebody pls give me some sample.
Thanks
Chris
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, pls take a look at: http://www.javaranch.com/ubb/Forum40/HTML/000562.html
rgds.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic