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)- A74% (17)
- B9% (2)
- C17% (4)
Community Discussion
No community discussion yet for this question.