Oracle
1Z0-860 · Question #9
1Z0-860 Question #9: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #9. The question stem and answer options stay visible for context.
Question
A developer is writing implementation code for an EJB 3.0 message-driven bean class that processes booking requests. Within the business logic of the onMessage method, a temporary problem can occur. In that case the developer wants to make sure that the booking request is processed again in 30 minutes. Which two can the developer select? (Choose two.)
Options
- AThrow a runtime exception to rollback the transaction.
- BCall set RollbackOnly on the MessageDrivenContext interface.
- CMake use of the TimerService, and implement the TimedObject interface.
- DMake use of the TimerService, implement are process method, and annotate it with @Timeout.
- EThrow an application exception, and add the retry-after attribute to the deployment descriptor.
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.