How should this be handled?

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?
A. Retry the connection until it is successful, then allow the init() method to complete.
B. Throw a ServletException
C. Throw the IOException
D. Throw an UnavailableException

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.