Hello,
I am new to
ejb and i have created a bean and deployed into the web server (Web Logic)
It works within the Local system perfectly.
But when both the sub and tha client class is run in a different system it gives an exception NoClassDefFound error.
let me know if v need to specify the url as below.
String url = "t3://pmornd99:7001";
Hashtable env = new Hashtable();
env.put(
Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, url);
InitialContext ctx = new InitialContext(env);
HelloWorldHome helloHome =
(HelloWorldHome) ctx.lookup("SSP_DS_HelloWorld_Services");
hello = helloHome.create();
Thanks in advance
smitha