Multiple choice technology architecture

By default, What is the value of the transaction attribute for a method of a bean with CMT?

  1. NotSupported

  2. Required

  3. RequiresNew

  4. Supports

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

For Container-Managed Transactions (CMT), the default transaction attribute is 'Required', meaning the method must always execute within a transaction. If none exists, the container creates one. NotSupported, RequiresNew, and Supports are all valid attributes but must be explicitly specified - they are not defaults.