This content has been marked as final.
Show 4 replies
-
1. Re: @Resource annotation question
jaikiran Dec 4, 2008 6:57 AM (in response to csr1978)In which class/component are you trying to inject the resource? And which versions of JBoss and Java are you using?
-
2. Re: @Resource annotation question
csr1978 Dec 4, 2008 6:41 PM (in response to csr1978)I am injecting this resource in servlets. I am using JBoss 4.2.3GA.
-
3. Re: @Resource annotation question
peterj Dec 5, 2008 12:43 PM (in response to csr1978)It is my understanding that client-side injection, such as what you are doing, does not work in 4.2.x. It does, however, work in 5.0.
-
4. Re: @Resource annotation question
csr1978 Dec 5, 2008 4:46 PM (in response to csr1978)Thanks Peter. I tested my code on JBoss 5.0.0GA and it worked!