posted 22 years ago
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