Oracle
1Z0-860 · Question #6
1Z0-860 Question #6: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #6. The question stem and answer options stay visible for context.
Question
A CMT session bean named MrBean is annotated as follows : 21. @Stateless(name="MrBean") 22. @TransactionAttribute0"ransactionAttributeType.NOT_SUPPORTED) 23. public class MrBean { 24. public void storeStuffQ {} 25. There are no transaction annotations at the method level. Given the following snippet of an ejb-jar.xml: 23. <container-transaction> 24. <method> 25. <ejb-name>MrBean</ejb-name> 26. <method-name>storeStuff</method-name> 27. </method> 28. <transaction-attribute>Mandatory</transaction-attribute> 29. </container-transaction> Which statement is correct about the business methods in MrBean?
Options
- AAll methods have transaction attribute REQUIRED.
- BAll methods have transaction attribute MANDATORY.
- CAll methods have transaction attribute NONSUPPORTED.
- DMethods with name store Stuff have transaction attribute MANDATORY and all other methods have
- EMethods with name store Stuff have transaction attribute MANDATORY and all other methods have
- FMethods with name store Stuff have a transaction attribute REQUIRED and all other methods have
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.