Hi All,
A Mock question in relation with my recent post
https://coderanch.com/t/163269/java-EJB-SCBCD/certification/Message-Driven-Bean-TransactionAttribute Which statements about transaction attributes and propagation is correct?
A- A message-driven bean's listener methods can only have a REQUIRED, REQUIRES_NEW, or NOT_SUPPORTED transaction attribute.
B- An enterprise bean's timeout callback method can only have a REQUIRED, REQUIRES_NEW, or NOT_SUPPORTED transaction attribute.
C- An enterprise bean implementing the javax.ejb.SessionSynchronization interface can only have a REQUIRES or REQUIRES_NEW transaction attribute.
D- A session bean's business method cannot have a MANDATORY transaction attribute.
I know that A is false (spec 13.3.7) but I don't understand why MDB can't have attribute REQUIRES_NEW.
Any help ?
Thanks,
Beno�t