I'm using the Java EE 6 SDK FCS (v3 b74.2), and both the SDK-bundled Javadoc and
the javax.annotation.jar (in glassfish/modules/endorsed) don't have a
javax.annotation.Resource annotation that defines a lookup element. You get a
compiler error when trying to use @Resource(lookup="...").
However, the Java EE 6 spec describes, and the Common Annotation 1.1 spec
defines, this element. The Javadoc online documents this method:
Roberto has confirmed the bug.