Which two statements about the EJBContext.isCallerlnRole method are correct?

Which two statements about the EJBContext.isCallerlnRole method are correct? (Choose two.)

Which two statements about the EJBContext.isCallerlnRole method are correct? (Choose two.)

A.
MessagE. driven beans must NOT call the isCallehnRole method.

B.
The isCallehnRole method may be called in a session bean constructor.

C.
The isCallehnRole method can be called in any business method of a stateless or a stateful
session bean.

D.
The isCallehnRole method can be called in the PostConstruct and PreDestroy lifecycle callback
methods of a stateless session bean.



Leave a Reply 0

Your email address will not be published. Required fields are marked *