Oracle
1Z0-860 · Question #42
Which two statements about the EJBContext. Is CallerlnRole method are correct? (Choose two.)
The correct answer is A. Message-drivenbeans must NOT call the is CallerlnRole method. C. The is CallerlnRole method can be called in any business method of a stateless or a stateful session. See the full explanation below for the reasoning.
Question
Which two statements about the EJBContext. Is CallerlnRole method are correct? (Choose two.)
Options
- AMessage-drivenbeans must NOT call the is CallerlnRole method.
- BThe is CallerlnRole method may be called in a session bean constructor.
- CThe is CallerlnRole method can be called in any business method of a stateless or a stateful session
- DThe is CallerlnRole method can be called in the PostConstruct and PreDestroy lifecycle callback
How the community answered
(48 responses)- A75% (36)
- B17% (8)
- D8% (4)
Community Discussion
No community discussion yet for this question.