1Z0-858 Exam Details

  • Exam Code
    :1Z0-858
  • Exam Name
    :Java Enterprise Edition 5 Web Component Developer Certified Professional
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :276 Q&As
  • Last Updated
    :Jul 12, 2026

Oracle 1Z0-858 Online Questions & Answers

  • Question 1:

    In a JSP-centric shopping cart application, you need to move a client's home address of the Customer object into the shipping address of the Order object. The address data is stored in a value object class called Address with properties for: street address, city, province, country, and postal code. Which two JSP code snippets can be used to accomplish this goal? (Choose two.)

  • Question 2:

    Which two from the web application deployment descriptor are valid? (Choose two.)

    A. */error.html
    B. java.lang.Error/error.html
    C. java.lang.Throwable/error.html
    D. java.io.IOException/error.html
    E. NullPointerException/error.html

  • Question 3:

    A developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, because the business and resource tiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing client requests. Which design patterns, working together, address these issues?

    A. Front Controller and Transfer Object
    B. Front Controller and Service Locator
    C. Business Delegate and Transfer Object
    D. Business Delegate and Intercepting Filter
    E. Model-View-Controller and Intercepting Filter

  • Question 4:

    A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed. Which two are true? (Choose two.)

    A. The element in the echo tag TLD must have the value JSP.
    B. The echo tag handler must define the setAttribute(String key, String value) method.
    C. The true element must appear in the echo tag TLD.
    D. The class implementing the echo tag handler must implement the javax.servlet.jsp.tagext.IterationTag interface.
    E. The class implementing the echo tag handler must implement the javax.servlet.jsp.tagext.DynamicAttributes interface.

  • Question 5:

    A servlet context listener loads a list of com.example.Product objects from a database and stores that list into the catalog attribute of the ServletContext object. Place code snippets to construct a jsp:useBean standard action to access this catalog.

    Select and Place:

  • Question 6:

    Which JSTL code snippet can be used to import content from another web resource?

    E. Importing cannot be done in JSTL. A standard action must be used instead.

  • Question 7:

    The tl:taskList and tl:task tags output a set of tasks to the response and are used as follows:

    11.

    12.

    13.

    14.

    15.

    The tl:task tag supplies information about a single task while the tl:taskList tag does the final output. The tag handler for tl:taskList is TaskListTag. The tag handler for tl:task is TaskTag. Both tag handlers extend BodyTagSupport. Which allows the tl:taskList tag to get the task names from its nested tl:task children?

    A. It is impossible for a tag handler that extends BodyTagSupport to communicate with its parent and child tags.
    B. In the TaskListTag.doStartTag method, call super.getChildTags() and iterate through the results. Cast each result to a TaskTag and call getName().
    C. In the TaskListTag.doStartTag method, call getChildTags() on the PageContext and iterate through the results. Cast each result to a TaskTag and call getName().
    D. Create an addTaskName method in TaskListTag. Have the TaskListTag.doStartTag method, return BodyTag.EVAL_BODY_BUFFERED. In the TaskTag.doStartTag method, call super.getParent(), cast it to a TaskListTag, and call addTaskName().
    E. Create an addTaskName method in TaskListTag. Have the TaskListTag.doStartTag method, return BodyTag.EVAL_BODY_BUFFERED. In the TaskTag.doStartTag method, call findAncestorWithClass() on the PageContext, passing TaskListTag as the class to find. Cast the result to TaskListTag and call addTaskName().

  • Question 8:

    Which two are true about the JSTL core iteration custom tags? (Choose two.)

    A. It may iterate over arrays, collections, maps, and strings.
    B. The body of the tag may contain EL code, but not scripting code.
    C. When looping over collections, a loop status object may be used in the tag body.
    D. It may iterate over a map, but only the key of the mapping may be used in the tag body.
    E. When looping over integers (for example begin='1' end='10'), a loop status object may not be used in the tag body.

  • Question 9:

    Which three web application deployment descriptor elements allow web components to gain references to resources or EJB components? (Choose three.)

    A. ejb-ref
    B. jdbc-ref
    C. servlet-ref
    D. resource-ref
    E. javamail-ref
    F. ejb-remote-ref
    G. resource-env-ref

  • Question 10:

    A custom tag is defined to take three attributes. Which two correctly invoke the tag within a JSP page? (Choose two.)

    G. foobarbaz

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-858 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.