[jboss-user] [Beginners Corner] - Re: Please help with EJB3 ClassCastException.

PeterJ do-not-reply at jboss.com
Fri Jan 12 18:51:25 EST 2007


I think you want to use a different JNDI name:

BeanLocal bl = (BeanLocal) jndiContext.lookup("myapp/BeanLocal/local");

and 

Object ref = jndiContext.lookup("myapp/BeanRemote/remote");

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

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



More information about the jboss-user mailing list