Given the following stateful session bean :
10. @Stateful
11. public class VideoBean implements Video {
12. public void methodAOJ}
13.
14. @TransactionAttribute(TransactionAttributeType. SUPPORTS)
15. public void methodB0 {} 16.
17. public void methodC0 {}
18. @TransactionAttribute(TransactionAttributeType. REQUIRED) 19.
20. public void methodD0 {}
21.}
Assuming no other transaction-related metadata, which is true?
A.
methodBand methodC have transaction attribute SUPPORTS, while methodD has transaction
attribute REQUIRED.
B.
methodAand methodChavetransaction attribute REQUIRES_NEW, while methodB has
transaction attribute SUPPORTS.
C.
methodC, methodD, and methodA havetransactionattribute REQUIRED, andmethod
Bhastransactionattribute SUPPORTS.
iD.methodB has transaction attribute SUPPORTS, methodD has transaction attribute REQUIRED,
and methodAandmethodC have transaction attribute REQUIRES NEW.