Problem
Given:
Bean A with transaction attributes of "NotSupported" for all its methods.
Bean B with transaction attributes of "Mandatory" for all its methods.
A method mA in bean A calls a method mB on Bean B.
Assuming that the method invokation is local, which of the following statements is correct?
Options
Select 1 correct option.
a)mA() will get a javax.transaction.TransactionRequiredException.
b)The bean A instance will be discarded.
c)mA() will get a javax.transaction.TransactionRolledbackException.
d)The container will create a new transaction context for executing mB().
None of the above.
What is the corrct answer ?
