There are a lot of questions about injection not working in AS 4.0 and 4.2. Most of the
problems boil down to injection not working the web layer.
This is because AS 4.0 and 4.2 are J2EE 1.4 servers with an EJB3 plugin. This means that
injection and annotations only work within the EJB3 plugin. To get to your EJBs you still
have to perform a JNDI lookup from your servlet / application client.
To get all the functionality of a JavaEE 5 server you must use JBoss Application Server 5
instead.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040901#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...