title: How to use java ee 6 @Resource annotation
body: <p>The java ee 6 api has an annotation <a href="http://java.sun.com/javaee/6/docs/api/javax/annotation/Resource.html" rel="nofollow noreferrer">@Resource</a> with an attribute 'lookup', however, so does the java se 6 api (<a href="http://java.sun.com/javase/6/docs/api/javax/annotation/Resource.html" rel="nofollow noreferrer">here</a>). 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. </p>
  
  <p>Is this a bug or is there some other way to use this annotation that I am missing. </p>
  
  <p>TIA</p>