Go back to 1Z0-895 - Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam

Question :-

A developer writes a stateful session bean called FooBean. Which code can be inserted before Line 11 of the FooBean class to define a TYPE-level environment dependency on a JMS Topic? 11. public class FooBean { 12. 13. public void foo() () 14. 15. }
@Resource (type=Topic.class)
@Resource (name="topicRef")Private static Topic topic;
@Resource private Topic topic
@Resource(name="topicRef", type=Topic.class)

Want to practice for 1Z0-895 - Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam ? Click here.