What about the dependency injection? You using local interface that make me feel you are inside the container or inside your ear, right?
Do you try
@EJB BeanLocal myBean;
This will inject the local interface before your code is called.
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community