• 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 server 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
 
Everybody's invited. Except this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic