If you have not specified any JNDI name then the bean by default gets bound to
appName/BeanName/remote for remote interface or appName/BeanName/local. So
assuming your application name is myApp and you are looking up a remote
interface, the code will look like:
| Context ctx = new InitialContext();
| TuoteHallintaRemote remote = (TuoteHallintaRemote)
ctx.lookup("myApp/TuoteHallintaBean/remote");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985184#3985184
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985184
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user