Oracle
1Z0-860 · Question #157
1Z0-860 Question #157: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #157. The question stem and answer options stay visible for context.
Question
A developer implements a system in which transfers of goods are monitored. Each transfer needs a unique ID for tracking purposes. The unique ID is generated by an existing system which is also used by other applications. For perfomance reasons, the transaction that gets the unique ID should be as short as possible. The scenario is implemented in four steps which are implemented in four business methods in a CMT session bean: LcheckGoods Checks goods in a database 2.getUniqueld Retrieve the unique ID 3.checkAmount Checks the amount in a non-transactional system 4.storeTransfer Stores the transfer in a database as part of the calling transaction. These methods are called by the addTransfer method of a second CMT session bean in the following order: checkGoods, getUniqueld, checkAmount, storeTransfer Assuming no other transaction-related metadata, which is the correct set of transaction attributes for the methods in the session beans?
Options
- AO.addTransfer REQUIRED LcheckGoods REQUIRED
- BO.addTransferREQUIRED LcheckGoods REQUIRED
- CO.addTransferREQUIRED LcheckGoods REQUIRED
- D0.addTransferNOT_SUPPORTED LcheckGoods REQUIRED
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.