Multiple choice java

The EJB SessionContext can be used to get information about users calling session enterprise beans. Which information can NOT be retrieved?

  1. transactional information

  2. security information

  3. data source information

  4. timer service information

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

SessionContext provides transaction management (getUserTransaction, setRollbackOnly), security context (getCallerPrincipal, isCallerInRole), and timer service access. Data source references are obtained through JNDI lookups using resource references in the deployment descriptor, not through SessionContext methods.