Oracle Java-OCJ-WC認定資格
killtestオラクル認定資格は、世界基準の認定資格で体系だった知識と経験を客観的に証明し、IT業界でのキャリアの取得機会を増やします。今日では、全世界 で440,000以上の認定資格者が活躍しています。
試験番号: 310-084-JP
試験の名称: Java Enterprise Edition 5 Web Component Developer Certified Professional Upgrade Exam
バージョン:V8.02
問題と解答:119 Q&As
価格:¥ 8900.00 円
更新:2011-07-13
A developer is designing a multi-tier web application and discovers a need to log each incoming client
request.
Which two patterns, taken independently, provide a solution for this problem? (Choose two.)
A. Transfer Object
B. Service Locator
C. Front Controller
D. Intercepting Filter
E. Business Delegate
F. Model-View-Controller
Answer: CD
Which three are true about the HttpServletRequestWrapper class? (Choose three.)
A. The HttpServletRequestWrapper is an example of the Decorator pattern.
B. The HttpServletRequestWrapper can be used to extend the functionality of a servlet request.
C. A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method.
D. An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter
interface.
E. An HttpServletRequestWrapper CANNOT be used on the request passed to the
RequestDispatcher.include method.
F. An HttpServletRequestWrapper may modify the header of a request within an object implementing the
javax.servlet.Filter interface.
Answer: ABF
Which two are valid values for the <transport-guarantee> element inside a <security-constraint>
element of a web application deployment descriptor? (Choose two.)
A. NULL
B. SECURE
C. INTEGRAL
D. ENCRYPTED
E. CONFIDENTIAL
Answer: CD
Given a web application in which the request parameter productID contains a product identifier.
Which two EL expressions evaluate the value of the productID? (Choose two.)
A. ${productID}
B. ${param.productID}
C. ${params.productID}
D. ${params.productID[1]}
E. ${paramValues.productID}
F. ${paramValues.productID[0]}
G. ${pageContext.request.productID}
Answer: BF
Given the function invocation expression ${my:reverse("42")}, and that the function reverse is mapped
into a Java method called reverse, which two are valid signatures for the Java method reverse? (Choose
two.)
A. public int reverse(String val)
B. public String reverse(String val)
C. public static int reverse(String val)
D. public static String reverse(int val)
E. private static double reverse(double val)
F. public int reverse(String value, String name)
G. public static int reverse(int value, String name)
Answer: CD