This content has been marked as final.
Show 1 reply
-
1. Re: NameNotFoundException
itsme Nov 21, 2008 7:35 AM (in response to thiagomontovaneli)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 thisObject obj = ic.lookup(Bean.class.getSimpleName()+"/remote");
Hope this helps.
Sandor