nerdexam
GIAC

GSSP-JAVA · Question #155

Which of the following methods can be invoked by a message-driven bean? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is B. MessageDrivenContext.getUserTransaction() D. MessageDrivenContext.getRollbackOnly(). See the full explanation below for the reasoning.

Question

Which of the following methods can be invoked by a message-driven bean? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AMessageDrivenContext.isCallerInRole()
  • BMessageDrivenContext.getUserTransaction()
  • CMessageDrivenContext.getEJBHome()
  • DMessageDrivenContext.getRollbackOnly()

How the community answered

(37 responses)
  • A
    16% (6)
  • B
    76% (28)
  • C
    8% (3)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice