Given a set of CMT bean methods with the following transaction attributes:
Method M1=SUPPORTS
Method M2=REQUIRED
Method M3=NOT_SUPP0RTED
Method M4=REQUIRES_NEW
And the following method invocation sequence:
Method M1 invokes Method M2
Method M2 invokes Method M3
Method M1 invokes Method M4
If Method M1 is invoked by a method that does NOT have a transaction context, which describes a
possible scenario?
A.
Method M1: no transaction
Method M2: new transaction
Method M3: no transaction
Method M4: new transaction
B.
Method M1: no transaction
Method M2: Container throws EJBTransactionRequiredException
C.
Method M1: new transaction
Method M2: runs in same transaction as M1
Method M3: Container throws TransactionNotSupportedException
D.
Method M1: no transaction
Method M2: new transaction
Method M3: Container throws TransactionNotSupportedException