Oracle
1Z0-899 · Question #15
1Z0-899 Question #15: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #15. The question stem and answer options stay visible for context.
Question
During initialization, a servlet finds that the database connection it requires is unavailable. As the system designer, you know that the database start up completes several minutes after the web- container initializes the servlet. How should this be handled?
Options
- ARetry the connection until it is successful, then allow the init () method to complete.
- BThrow a ServletException
- CThrow the IOException
- DThrow an UnavailableException
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 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.