[jboss-user] [EJB 3.0] - Re: EJB Annotation question?
do-not-reply at jboss.com
Wed Apr 30 00:07:52 EDT 2008
"afmarsal" wrote : Hi, is it possible with JBoss 4.2.2 ?
| Is it planned for Jboss 5.x ? It's a great feature when developing a client...
It's not possible with JBoss-4.2.2. However this is available in JBoss-5.0. There's a sticky in this forum http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107353 which explains exactly this same thing:
anonymous wrote :
| 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=4147690#4147690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147690
More information about the jboss-user