This content has been marked as final.
Show 2 replies
-
1. Re: @Stateless JNDI bindings
snau2005 Sep 7, 2006 5:04 AM (in response to lpiccoli)Try:
//jb = (Job) ctx.lookup("yourearname/JobBean/local");
-
2. Re: @Stateless JNDI bindings
wolfgangknauf Sep 7, 2006 10:40 AM (in response to lpiccoli)Or you could use the annotation "org.jboss.annotation.ejb.LocalBinding" to bind the EJB to a different JNDI name (same effect as an entry in "jboss.xml" in the EJB project).