Oracle 1Z0-858 Exam Overview:
| Certification Vendor: | Oracle |
| Exam Name: | Java Enterprise Edition 5 Web Component Developer Certified Professional Exam |
| Exam Number: | 1Z0-858 |
| Passing Score: | 68% - 72% |
| Related Certifications: | Oracle Certified Professional, Java SE Programmer |
| Available Languages: | English |
| Real Exam Qty: | 69 |
| Exam Duration: | 150 minutes |
| Certificate Validity Period: | Indefinite (legacy certification) |
| Exam Format: | Multiple Choice, Multiple Answer |
| Exam Price: | Approx. $245 USD |
| Recommended Training: | Oracle University - Web Component Development with Servlet and JSP |
| Exam Registration: | Pearson VUE Registration Oracle Certification Portal |
| Sample Questions: | Oracle 1Z0-858 Sample Questions |
| Exam Way: | Authorized Pearson VUE test center or online proctored exam |
| Pre Condition: | Recommended: Oracle Certified Professional, Java SE Programmer or equivalent Java knowledge |
| Official Syllabus URL: | https://education.oracle.com/ |
Oracle 1Z0-858 Exam Syllabus Topics:
| Section | Weight | Objectives |
|---|---|---|
| Topic 1: Design Patterns and Architecture | 8% | - Intercepting Filter, Front Controller - Service Locator, Business Delegate - MVC pattern |
| Topic 2: Web Application Structure and Deployment | 10% | - Annotations for configuration - WAR file structure - Deployment descriptor (web.xml) |
| Topic 3: JSP Technology Model | 13% | - Implicit objects - Elements and syntax - JSP lifecycle |
| Topic 4: Servlet Technology Model | 15% | - Servlet configuration and initialization - Request and response handling - Servlet lifecycle |
| Topic 5: Expression Language (EL) and Standard Actions | 10% | - Accessing JavaBeans and collections - Standard JSP actions - EL syntax and operators |
| Topic 6: Session Management | 10% | - Session tracking mechanisms - Session attributes and scope - Session lifecycle |
| Topic 7: JSTL and Custom Tag Development | 12% | - Tag files and descriptors - JSTL core and formatting tags - Tag handler lifecycle |
| Topic 8: Web Container Model | 10% | - Filters and interceptors - Container services - Event listeners |
| Topic 9: Web Application Security | 12% | - Data protection and transport security - Authentication methods - Authorization and roles |
Oracle Java Enterprise Edition 5 Web Component Developer Certified Professional Sample Questions:
1. Your IT department is building a lightweight Front Controller servlet that invokes an application logic object with the interface:
public interface ApplicationController {
public String invoke(HttpServletRequest request)
}
The return value of this method indicates a symbolic name of the next view. From this name, the Front Controller servlet looks up the JSP URL in a configuration table. This URL might be an absolute path or a path relative to the current request. Next, the Front Controller servlet must send the request to this JSP to generate the view. Assume that the servlet variable request is assigned the current HttpServletRequest object and the variable context is assigned the webapp's ServletContext.
Which code snippet of the Front Controller servlet accomplishes this goal?
A) RequestDispatcher view = context.getRequestDispatcher(viewURL); view.forward(request, response);
B) Dispatcher view = context.getDispatcher(viewURL); view.forwardRequest(request, response);
C) Dispatcher view = request.getDispatcher(viewURL); view.forwardRequest(request, response);
D) RequestDispatcher view = request.getRequestDispatcher(viewURL);
view.forward(request, response);
2. Which two statements are true about the security-related tags in a valid Java EE deployment descriptor? (Choose two.)
A) A given <web-resource-collection> tag can contain from zero to many <url-pattern> tags.
B) A <security-constraint> tag can have many <web-resource-collection> tags.
C) A given <auth-constraint> tag can apply to only one <web-resource-collection> tag.
D) Every <security-constraint> tag must have at least one <http-method> tag.
E) It is possible to construct a valid <security-constraint> tag such that, for a given resource, no user roles can access that resource.
3. Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attribute in B's request object contains the URI of the original request received by servlet A?
A) javax.servlet.request_dispatcher.request_uri
B) javax.servlet.forward.REQUEST_URI
C) javax.servlet.request_dispatcher.REQUEST_URI
D) javax.servlet.forward.request_uri
E) REQUEST_URI
4. As a convenience feature, your web pages include an Ajax request every five minutes to a special servlet that monitors the age of the user's session. The client-side JavaScript that handles the Ajax callback displays a message on the screen as the session ages. The Ajax call does NOT pass any cookies, but it passes the session ID in a request parameter called sessionID. In addition, assume that your webapp keeps a hashmap of session objects by the ID. Here is a partial implementation of this servlet:
10.
public class SessionAgeServlet extends HttpServlet {
11.
public void service(HttpServletRequest request, HttpServletResponse) throws IOException {
12.
String sessionID = request.getParameter("sessionID");
13.
HttpSession session = getSession(sessionID);
14.
long age = // your code here
15.
response.getWriter().print(age);
16.
} ... // more code here
47. }
Which code snippet on line 14, will determine the age of the session?
A) session.getMaxInactiveInterval();
B) session.getLastAccessed().getTime() - session.getCreationTime().getTime();
C) session.getLastAccessedTime() - session.getCreationTime();
D) session.getMaxInactiveInterval() - session.getCreationTime();
E) session.getLastAccessedTime().getTime() - session.getCreationTime().getTime();
F) session.getLastAccessed() - session.getCreationTime();
5. Given an EL function declared with:
11.
<function>
12.
<name>spin</name>
13.
<function-class>com.example.Spinner</function-class>
14.
<function-signature>
15.
java.lang.String spinIt()
16.
</function-signature>
17.
</function>
Which two are true? (Choose two.)
A) The function method must have the signature public static String spin().
B) The method must be mapped to the logical name "spin" in the web.xml file.
C) The function class must be named Spinner, and must be in the package com.example.
D) The function method must have the signature: public static String spinIt().
E) The function method must have the signature: public String spinIt().
F) The function method must have the signature: public String spin().
Solutions:
| Question # 1 Answer: D | Question # 2 Answer: B,E | Question # 3 Answer: D | Question # 4 Answer: C | Question # 5 Answer: C,D |


PDF Version Demo






We are confident about the products and aim to help you pass with ease. In case of failure, we will provide a no hassle full money back guarantee for the purchasing fee.
1172 Customer Reviews
Quality and ValueITbraindumps Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITbraindumps testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITbraindumps offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.