How to use java ee 6 @Resource annotation
Posted
by javamonkey79
on Stack Overflow
See other posts from Stack Overflow
or by javamonkey79
Published on 2010-03-22T19:56:51Z
Indexed on
2010/03/22
20:01 UTC
Read the original article
Hit count: 339
The java ee 6 api has an annotation @Resource with an attribute 'lookup', however, so does the java se 6 api (here). However, since java ee 6 is dependent on java se 6, it seems you can not get at the ee version of the annotation and the 'lookup' attribute.
Is this a bug or is there some other way to use this annotation that I am missing.
TIA
© Stack Overflow or respective owner