Hi Johnson,
Here is what I have written in the servlets for the lookup,
Actually i am using a support class here which i am instantiating in the servlet and then calling its variable where i store the values i want.I have tried both the ProtableRemoteObject.narrow() method and also directly typecasting it back to home object as it is in the code here,,,
Hashtable hash=new Hashtable();
hash.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
hash.put(Context.PROVIDER_URL,"iiop:///localhost:9000");
Context ctx=new InitialContext(hash);
System.out.println("coming before home lookup");
TickerHome home=(TickerHome)ctx.lookup("Ticker");
System.out.println("Before lookup");
Ticker tick =home.create("shweta");
tick.connect();
Hope this will help you in understanding the problem i am facing and help me out, thanks in advance
Daman