nerdexam
Oracle

1Z0-860 · Question #135

1Z0-860 Question #135: Real Exam Question with Answer & Explanation

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

Question

FooBean is an EJB 3.0 session bean that can make valid use of UserTransaction. Which is guaranteed to work in an EJB container for FooBean to obtain the UserTransaclion object?

Options

  • AInvoke a method on a SessionContext that returns a UserTransaction object.
  • BPerform JNDI lookup with name "java:/UserTransaction" on an InitialContext.
  • CPerform JNDI lookup with the name "jdbc/UserTransaction" on an InitialContext.
  • DUse the @Transaction Management annotation to inject an instance variable of type UserTransaction in

Unlock 1Z0-860 to see the answer

You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 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-860 Practice
FooBean is an EJB 3.0 session bean that can make valid use of... | 1Z0-860 Q#135 Answer | NerdExam