I already did what you said with no luck. I spent whole day on this issue but didn't get any solutions.
Today i downloaded JBoss 5.0.0GA amazingly the same code worked!
I thought @resource annotations work in JBoss 4.2.3 but now i think they only work with JBoss 5.x versions. Is that correct?
I did know that @EJB injection would not work in JBoss-4.2.x, but i thought the @Resource would work. Infact, i think i even had an example on my previous machine with JBoss-4.2.3 where it had worked (if i remember correct). Once i get my new machine setup properly, let me give this a try.
Good to know, it worked with JBoss-5 GA which got released today.