hi @ all
i have created an IIOP EJB and are currently trying to call it.
Client Code:
Context ic;
Object objref;
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
props.put(Context.PROVIDER_URL,"corbaloc::localhost:3528/JBoss/Naming/root");
ic = new InitialContext(props);
objref = ic.lookup("IiopTest");
IiopTestHome homeInter;
homeInter=(IiopTestHome)PortableRemoteObject.narrow(objref,IiopTestHome.class);
IiopTest realObject = homeInter.create();Same problem, how do u solve it!