nerdexam
Oracle

1Z0-895 · Question #82

1Z0-895 Question #82: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #82. The question stem and answer options stay visible for context.

Question

A developer writes a stateless session bean FooBean and uses its deployment descriptor to declare a local ejb dependency on a stateful session bean in the same ejb-jar. Which environment annotation, when declared within the FooBean bean class, is equivalent to the ejb-local-ref shown above?

Exhibit

1Z0-895 question #82 exhibit

Options

  • A@EJB(beanName="BarBean")
  • B@EJB(name="bar", beanName="BarBean")
  • C@EJB(name="barRef", beanName="BarBean")
  • D@EJB(name="ejab/barRef", beanName="BarBean")

Unlock 1Z0-895 to see the answer

You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-895 Practice