Administrator Administrator [
http://community.jboss.org/people/admin] modified the
document:
"Does dependency injection work on helper classes?"
To view the document, visit:
http://community.jboss.org/docs/DOC-13347
--------------------------------------------------------------
No it doesn't. Java EE 5.0 supports dependency injection with managed classes (ejbs,
mbeans, servlets...), so you can't use dependency injection from helper classes. You
must still use JNDI if you want to use resources or services from a helper class.
--------------------------------------------------------------
Comment by going to Community
[
http://community.jboss.org/docs/DOC-13347]
Create a new document in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=102&am...]