nerdexam
GIAC

GSSP-JAVA · Question #231

Which of the following methods of the EJBContext interface can be called by both the BMT and CMT beans? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. getCallerPrincipal() D. isCallerInRole(). See the full explanation below for the reasoning.

Question

Which of the following methods of the EJBContext interface can be called by both the BMT and CMT beans? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AgetCallerPrincipal()
  • BgetRollbackOnly()
  • CgetUserTransaction()
  • DisCallerInRole()

How the community answered

(23 responses)
  • A
    74% (17)
  • B
    9% (2)
  • C
    17% (4)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice