nerdexam
Oracle

1Z0-860 · Question #257

1Z0-860 Question #257: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #257. The question stem and answer options stay visible for context.

Question

A CMT session bean named MrBean contains a method storeStuff which is annotated as follows: 22. @TransactionAttributeO"ransactionAttributeType.REQUIRES_NEW) 23. public void storeStuffO { All other methods of this bean have no transaction annotations. Given the following part of an ejb- jar.xml: 23. <container-transaction> 24. <method> 25. <ejb-name>MrBean</ejb-name> 26. <method-name>*</method-name> 27. </method> 28. <transaction-attribute>NotSupported</transaction-attribute> 29. </container-transaction> Which statement is correct about the methods in MrBean?

Options

  • AAll methods of MrBean have transaction attribute REQUIRED.
  • BAll methods of MrBean have transaction attribute NONSUPPORTED.
  • CMethod store Stuff has transaction attribute REQUIRES_NEW and the other methods have transaction
  • DMethod store Stuff has transaction attribute NONSUPPORTED and the other methods have transaction
  • EMethod store Stuff has transaction attribute REQUIRES NEW and the other methods have transaction

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.

Full 1Z0-860 Practice