Oracle
1Z0-900 · Question #33
Given: You are creating an Alarm management system. When you create a new alarm, you want it to create an alert that is triggered once at the specified time. Which method should you call on Line 9…
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #33. The question stem and answer options stay visible for context.
Implement Business Logic by Using EJBs
Question
Given:
You are creating an Alarm management system. When you create a new alarm, you want it to create an alert that is triggered once at the specified time. Which method should you call on Line 9 to create the timer?
Exhibit
Options
- AtimerService.createCalendarTimer(alarmDate, config);
- BtimerService.createSingleActionTimer(alarmDate, config);
- CtimerService.createIntervalTimer(alarmDate, -l, config);
- DtimerService.createTimer(alarmDate, -l, config);
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 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.
Topics
#EJB Timer Service#Single-action timer#Timer creation#Scheduled execution
