You should use '@EJB MyBeanLocal xxx;' instead of code a lookup, you are using EJB3 with injection.
In this case you don't have to know the JNDI name.
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community