JBoss Community

Re: @EJB(lookup) fails while context.lookup() is successfull

created by Dan Sirbu in JBoss AS7 Development - View the full discussion

No - they are not EE components. They are plain java classes:

 

public class MyTestClass{

    ...

    @EJB or @EJB(lookup) or @EJB(mappedName)  - does not work - jndi lookup yes

    private ILcExample lc;

 

    ......

}



Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community