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-drivenbeans must NOT call the isCallerlnRole method.

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

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

D.
The isCallerlnRole 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 *