阿摩線上測驗 登入

試題詳解

試卷:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899(51-100)#84004 | 科目:OCE

試卷資訊

試卷名稱:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899(51-100)#84004

科目:OCE

99 You are implementing a model component. You realize that an IOException might arise if you lose connection to the database. How should you address this?
(A) Implement multipathing to provide redundant connectivity to the database, thereby avoiding that risk of connection failure.
(B) Provide an error handler page, and use the page directive in the invoking ISP to redirect to that page if the error arises.
(C) Use the JSTL <c:catch> tag to take control if the exception arises.
(D) Surround the problem area with a try/catch block and implement appropriate recovery or fallback behavior.
正確答案:登入後查看