[jboss-user] [Installation, Configuration & Deployment] - Re: classcast exception

Fushion do-not-reply at jboss.com
Thu Apr 19 06:23:29 EDT 2007


You don't need the narrowing anymore. use this code instead:


  |    InitialContext ctx = new InitialContext();
  |    MyTestSession testSession = (MyTestSession)ctx.lookup("ejb/test/MyTestSessionBean/remote");
  | 

That's all!!!


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038816#4038816

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038816



More information about the jboss-user mailing list