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 111:

    A web component accesses a local EJB session bean with a component interface of com.example.Account with a home interface of com.example.AccountHome and a JNDI reference of ejb/ Account. Which makes the local EJB component accessible to the web components in the web application deployment descriptor?

    A. ejb/AccountSessioncom.example.AccountHomecom.example.Account
    B. ejb/AccountSessioncom.example.AccountHomecom.example.Account
    C. ejb/AccountSessioncom.example.AccountHomecom.example.Account
    D. ejb/AccountSessioncom.example.AccountHomecom.example.Account

  • Question 112:

    Given the security constraint in a DD:

    101.

    102.

    103.

    Foo

    104.

    /Bar/Baz/*

    105.

    POST

    106.

    107.

    108.

    DEVELOPER

    109.

    110.

    And given that "MANAGER" is a valid role-name, which four are true for this security constraint? (Choose four.)

    A. MANAGER can do a GET on resources in the /Bar/Baz directory.
    B. MANAGER can do a POST on any resource in the /Bar/Baz directory.
    C. MANAGER can do a TRACE on any resource in the /Bar/Baz directory.
    D. DEVELOPER can do a GET on resources in the /Bar/Baz directory.
    E. DEVELOPER can do only a POST on resources in the /Bar/Baz directory.
    F. DEVELOPER can do a TRACE on any resource in the /Bar/Baz directory.

  • Question 113:

    You are building your own layout mechanism by including dynamic content for the page's header and footer sections. The footer is always static, but the header generates the tag that requires the page name to be specified dynamically when the header is imported. Which JSP code snippet performs the import of the header content? </p></p> <div class="answer" id="answer59709" style="display: none"> A </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59709"> </div> </li> <li> <h4>Question 114: </h4> <p><p>Click the Exhibit button. </p><p>Assume the product attribute does NOT yet exist in any scope. </p><p>Which two create an instance of com.example.Product and initialize the name and price properties to the name and price request parameters? (Choose two.) </p><p><img src="https://images.vcedump.com/pimages/qa/1Z0-858/680A3E40A39F6/1Z0-858_img_13.jpg"/></p></p> <div class="answer" id="answer59674" style="display: none"> AC </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59674"> </div> </li> <li> <h4>Question 115: </h4> <p><p>You are developing several tag libraries that will be sold for development of third-party web applications. You are about to publish the first three libraries as JAR files: container-tags.jar, advanced- html-form- tags.jar, and basic-html-formtags.jar. Which two techniques are appropriate for packaging the TLD files for these tag libraries? (Choose two.) </p><strong>A.</strong> The TLD must be located within the WEB-INF directory of the JAR file.<br/><strong>B.</strong> The TLD must be located within the META-INF directory of the JAR file.<br/><strong>C.</strong> The TLD must be located within the META-INF/tld/ directory of the JAR file.<br/><strong>D.</strong> The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.<br/><strong>E.</strong> The TLD must be located within a subdirectory of META-INF directory of the JAR file.<br/><strong>F.</strong> The TLD must be located within a subdirectory of META-INF/tld/ directory of the JAR file.</p> <div class="answer" id="answer59625" style="display: none"> <strong>B.</strong> The TLD must be located within the META-INF directory of the JAR file.<br/><strong>E.</strong> The TLD must be located within a subdirectory of META-INF directory of the JAR file. </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59625"> </div> </li> <li> <h4>Question 116: </h4> <p><p>Select and Place: </p><p><img src="https://images.vcedump.com/pimages/qa/1Z0-858/680A33A2A627C/1Z0-858--D_img_22.jpg"/></p></p> <div class="answer" id="answer3454" style="display: none"> <p><img src="https://images.vcedump.com/pimages/qa/1Z0-858/680A33A2A627C/1Z0-858--D_img_23.jpg"/></p> </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="3454"> </div> </li> <li> <h4>Question 117: </h4> <p><p>A developer has created a special servlet that is responsible for generating XML content that is sent to a data warehousing subsystem. This subsystem uses HTTP to request these large data files, which are compressed by the servlet to save internal network bandwidth. The developer has received a request from management to create several more of these data warehousing servlets. The developer is about to copy and paste the compression code into each new servlet. Which design pattern can consolidate this compression code to be used by all of the data warehousing servlets? </p><strong>A.</strong> Facade<br/><strong>B.</strong> View Helper<br/><strong>C.</strong> Transfer Object<br/><strong>D.</strong> Intercepting Filter<br/><strong>E.</strong> Composite Facade</p> <div class="answer" id="answer59581" style="display: none"> <strong>D.</strong> Intercepting Filter </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59581"> </div> </li> <li> <h4>Question 118: </h4> <p><p>Given the security constraint in a DD: </p><p>101.</p><p> <security-constraint> </p><p>102.</p><p> <web-resource-collection> </p><p>103.</p><p> <web-resource-name>Foo</web-resource-name> </p><p>104.</p><p> <url-pattern>/Bar/Baz/*</url-pattern> </p><p>105.</p><p> <http-method>POST</http-method> </p><p>106.</p><p> </web-resource-collection> </p><p>107.</p><p> <auth-constraint> </p><p>108.</p><p> <role-name>DEVELOPER</role-name> </p><p>109.</p><p> </auth-constraint> </p><p>110.</p><p> </security-constraint> </p><p>And given that "MANAGER" is a valid role-name, which four are true for this security constraint? (Choose four.) </p><strong>A.</strong> MANAGER can do a GET on resources in the /Bar/Baz directory.<br/><strong>B.</strong> MANAGER can do a POST on any resource in the /Bar/Baz directory.<br/><strong>C.</strong> MANAGER can do a TRACE on any resource in the /Bar/Baz directory.<br/><strong>D.</strong> DEVELOPER can do a GET on resources in the /Bar/Baz directory.<br/><strong>E.</strong> DEVELOPER can do only a POST on resources in the /Bar/Baz directory.<br/><strong>F.</strong> DEVELOPER can do a TRACE on any resource in the /Bar/Baz directory.</p> <div class="answer" id="answer59500" style="display: none"> <strong>A.</strong> MANAGER can do a GET on resources in the /Bar/Baz directory.<br/><strong>C.</strong> MANAGER can do a TRACE on any resource in the /Bar/Baz directory.<br/><strong>D.</strong> DEVELOPER can do a GET on resources in the /Bar/Baz directory.<br/><strong>F.</strong> DEVELOPER can do a TRACE on any resource in the /Bar/Baz directory. </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59500"> </div> </li> <li> <h4>Question 119: </h4> <p><p>You need to store a floating point number, called Tsquare, in the session scope. Which two code snippets allow you to retrieve this value? (Choose two.) </p><strong>A.</strong> float Tsquare = session.getFloatAttribute("Tsquare");<br/><strong>B.</strong> float Tsquare = (Float) session.getAttribute("Tsquare");<br/><strong>C.</strong> float Tsquare = (float) session.getNumericAttribute("Tsquare");<br/><strong>D.</strong> float Tsquare = ((Float) session.getAttribute.("Tsquare")).floatValue();<br/><strong>E.</strong> float Tsquare = ((Float) session.getFloatAttribute.("Tsquare")).floatValue;<br/><strong>F.</strong> float Tsquare = ((Float) session.getNumericAttribute.("Tsquare")).floatValue;</p> <div class="answer" id="answer59690" style="display: none"> <strong>B.</strong> float Tsquare = (Float) session.getAttribute("Tsquare");<br/><strong>D.</strong> float Tsquare = ((Float) session.getAttribute.("Tsquare")).floatValue(); </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59690"> </div> </li> <li> <h4>Question 120: </h4> <p><p>Which method must be used to encode a URL passed as an argument to HttpServletResponse.sendRedirect when using URL rewriting for session tracking? </p><strong>A.</strong> ServletResponse.encodeURL<br/><strong>B.</strong> HttpServletResponse.encodeURL<br/><strong>C.</strong> ServletResponse.encodeRedirectURL<br/><strong>D.</strong> HttpServletResponse.encodeRedirectURL</p> <div class="answer" id="answer59559" style="display: none"> <strong>D.</strong> HttpServletResponse.encodeRedirectURL </div> <div class="button"> <input type="button" class="btn btn-primary answer-btn" value="SHOW ANSWERS" data-id="59559"> </div> </li> </ul> </div> </div><!-- work-history --> <div class="text-center"> <ul class="pagination "><li><a href="/exam/1z0-858.html?page=11" rel="nofollow"><i class="fa fa-chevron-left"></i></a></li><li><a href="/exam/1z0-858.html">1</a></li><li><a href="/exam/1z0-858.html?page=2">2</a></li><li class="dian"><a>...</a></li><li><a href="/exam/1z0-858.html?page=11" rel="nofollow">11</a></li><li class="active"><a href="#">12</a></li><li><a href="/exam/1z0-858.html?page=13" rel="nofollow">13</a></li><li><a href="/exam/1z0-858.html?page=14" rel="nofollow">14</a></li><li class="dian"><a>...</a></li><li><a href="/exam/1z0-858.html?page=27" rel="nofollow">27</a></li><li><a href="/exam/1z0-858.html?page=28" rel="nofollow">28</a></li><li><a href="/exam/1z0-858.html?page=13" rel="nofollow"><i class="fa fa-chevron-right"></i></a></li></ul> </div> <div class="special-qualification: section"> <div class="icons"> <i class="fa fa-thumbs-o-up" aria-hidden="true"></i> </div> <div class="personal-info"> <h3>Related Exams:</h3> <ul class="address"> <li> <h5><a href="https://www.vcedump.com/1z0-020.html">1Z0-020</a> </h5> <a href="https://www.vcedump.com/1z0-020.html" style="color: #2d3038">Oracle8i: New Features for Administrators</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-023.html">1Z0-023</a> </h5> <a href="https://www.vcedump.com/1z0-023.html" style="color: #2d3038">Architecture and Administration</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-024.html">1Z0-024</a> </h5> <a href="https://www.vcedump.com/1z0-024.html" style="color: #2d3038">Performance Tuning</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-025.html">1Z0-025</a> </h5> <a href="https://www.vcedump.com/1z0-025.html" style="color: #2d3038">Backup and Recovery</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-026.html">1Z0-026</a> </h5> <a href="https://www.vcedump.com/1z0-026.html" style="color: #2d3038">Network Administration</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-034.html">1Z0-034</a> </h5> <a href="https://www.vcedump.com/1z0-034.html" style="color: #2d3038">Upgrade Oracle9i/10g OCA to Oracle Database OCP</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-036.html">1Z0-036</a> </h5> <a href="https://www.vcedump.com/1z0-036.html" style="color: #2d3038">Managing Oracle9i on Linux</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-041.html">1Z0-041</a> </h5> <a href="https://www.vcedump.com/1z0-041.html" style="color: #2d3038">Oracle Database 10g: DBA Assessment</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-052.html">1Z0-052</a> </h5> <a href="https://www.vcedump.com/1z0-052.html" style="color: #2d3038">Oracle Database 11g: Administration Workshop I</a> </li> <li> <h5><a href="https://www.vcedump.com/1z0-053.html">1Z0-053</a> </h5> <a href="https://www.vcedump.com/1z0-053.html" style="color: #2d3038">Oracle Database 11g: Administration II</a> </li> </ul> </div> </div><!-- educational-background --> <div class="declaration section"> <div class="icons"> <i class="fa fa-hand-peace-o" aria-hidden="true"></i> </div> <div class="declaration-info"> <h3>Tips on How to Prepare for the Exams</h3> <p>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. </p> </div> </div><!-- career-objective --> </div><!-- resume-content --> </div><!-- container --> </section><!-- ad-profile-page --> <!-- Security: Anti-theft JavaScript --> <script type="text/javascript"> (function() { 'use strict'; // Disable right-click document.addEventListener('contextmenu', function(e) { e.preventDefault(); return false; }); // Disable keyboard shortcuts document.addEventListener('keydown', function(e) { // F12 if (e.keyCode === 123) { e.preventDefault(); return false; } // Ctrl+Shift+I (Chrome DevTools) if (e.ctrlKey && e.shiftKey && e.keyCode === 73) { e.preventDefault(); return false; } // Ctrl+Shift+J (Chrome Console) if (e.ctrlKey && e.shiftKey && e.keyCode === 74) { e.preventDefault(); return false; } // Ctrl+Shift+C (Chrome Inspect) if (e.ctrlKey && e.shiftKey && e.keyCode === 67) { e.preventDefault(); return false; } // Ctrl+U (View Source) if (e.ctrlKey && e.keyCode === 85) { e.preventDefault(); return false; } // Ctrl+S (Save Page) if (e.ctrlKey && e.keyCode === 83) { e.preventDefault(); return false; } // Ctrl+P (Print) if (e.ctrlKey && e.keyCode === 80) { e.preventDefault(); return false; } }); // Disable print window.addEventListener('beforeprint', function(e) { e.preventDefault(); alert('Printing is disabled for this protected content.'); return false; }); // Blur detection (screen recording protection) var blurOverlay = null; window.addEventListener('blur', function() { if (!blurOverlay) { blurOverlay = document.createElement('div'); blurOverlay.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,0.95);z-index:99999;display:flex;align-items:center;justify-content:center;font-size:24px;'; blurOverlay.textContent = 'Please focus on this window to continue'; document.body.appendChild(blurOverlay); } }); window.addEventListener('focus', function() { if (blurOverlay) { document.body.removeChild(blurOverlay); blurOverlay = null; } }); // Prevent iframe embedding if (window.top !== window.self) { window.top.location = window.self.location; } })(); </script> <script type="text/javascript" src="/js/UAAAAAOCOyHhADO0j.js"></script> <style> .footer-widget ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 0; margin: 0; list-style: none; } .footer-widget ul li { margin-bottom: 0 !important; } .footer-widget ul li a { display: inline-block !important; padding: 0 15px; border-right: 1px solid #ddd; } .footer-widget ul li:last-child a { border-right: none; } </style> <footer id="footer" class="clearfix"> <!-- footer-top --> <section class="footer-top clearfix"> <div class="container"> <div class="row"> <!-- footer-widget --> <div class="col-sm-12"> <div class="footer-widget"> <ul> <li><a href="/faqs.html">FAQs</a></li> <li><a href="/how-to-buy.html">How to Buy</a></li> <li><a href="/pass-guarantee.html">Guarantee</a></li> <li><a href="/contact-us.html">Contact Us</a></li> <li><a href="/about-us.html">About Us</a></li> <li><a href="/payment.html">Payment</a></li> <li><a href="/privacy.html">Privacy</a></li> <li><a href="/terms-and-conditions.html">Terms & Conditions</a></li> </ul> </div> </div><!-- footer-widget --> </div><!-- row --> </div><!-- container --> </section><!-- footer-top --> <div class="footer-bottom clearfix text-center"> <div class="container"> <p>Copyright © <a href="/">VCEDUMP.COM</a> 2026</p> </div> </div><!-- footer-bottom --> </footer><!-- footer --> <!-- JS --> <script src="/js/bootstrap.min.js"></script> <script src="/js/price-range.js"></script> <script src="/js/main.js"></script> <script src="/js/switcher.js"></script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-MD8L8FYY2G"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-MD8L8FYY2G'); </script> </body> </html>