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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to