JBoss Community

Re: JNDI EJB lookup in jboss5.1.0 GA

created by Wolf-Dieter Fink in JNDI and Naming - View the full discussion

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