Hi,

J have problem calling an Entity bean from a Session bean using Jonas 20
running on RMI.
Can you give me a code example or some suggestion.

Her add an example and the XML descriptor

        javax.naming.Context ctx = new InitialContext();
        Object obj = ctx.lookup("java:comp/env/ejb/orderHome");
        orderHome home =
(orderHome)PortableRemoteObject.narrow(obj,orderHome.class);
        order sd = home.create(orderid,userid,cardid,amount);

Thank you 


jonas-ejb-jar.xml

ejb-jar.xml

orderSessBean.java

Reply via email to