Multiple choice

In which of the following modes of transaction management provided by EJB, if the client has a transaction open when it invokes the bean's method, the bean runs the client's transaction context otherwise the container starts a new transaction?

  1. TX_BEAN_MANAGED

  2. TX_SUPPORTS

  3. Optimized method invocation

  4. Transaction

  5. TX_REQUIRED

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

In this mode of transaction management provided by EJB, if the client has a transaction open when it invokes the bean's method, the bean runs the client's transaction context otherwise the container starts a new transaction.