The default scheme for JNDI names in JBoss is
<ear>/<bean-class-simple-name>/remote for remote interfaces. For local
interface change to
<ear>/<bean-class-simple-name>/local
So your code should look like this
| Object obj = ic.lookup(Bean.class.getSimpleName()+"/remote");
|
Hope this helps.
Sandor
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191234#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...