Dan Sirbu [
http://community.jboss.org/people/lmcdasi] created the discussion
"Re: @EJB(lookup) fails while context.lookup() is successfull"
To view the discussion, visit:
http://community.jboss.org/message/633374#633374
--------------------------------------------------------------
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
[
http://community.jboss.org/message/633374#633374]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]