[Free] 2018(Jan) EnsurePass Testinsides Oracle 1z0-897 Dumps with VCE and PDF 1-10

By | January 25, 2018

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan Oracle Official New Released 1z0-897
100% Free Download! 100% Pass Guaranteed!

Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam

Question No: 1 – (Topic 0)

An airline built and deployed a back-end application to manage reservations. To support interoperability with as large a base of standalone client applications as possible, the services provided by this back-end application are exposed as XML-based restful web services. Management just added a new requirement that AJAX-based web application clients be supported, too. One of the developers suggested that it is enough to extend the existing application to support both XML-based and JSON-based restful web services.

Assuming the developer is correct, choose the sentence that best describes an attempt to introduce this ability as this developer suggests (Choose one):

  1. The attempt will fail, because JAX-RS does not support both XML- and JSON- based restful services in parallel.

  2. The attempt will be trivial to implement, since JAX-RS just needs for the application to specify that both XML- and JSON-based interaction will be supported.

  3. The attempt can succeed, but it will require a significant amount of new code, since

    JAX-RS does support both XML- and JSON-based interaction – but not single resource can support both kinds of interaction simultaneously.

  4. The attempt will fail, because there is more to the difference between XML-based and JSON-based interactions than just the data representation used.

Answer: B

Question No: 2 – (Topic 0)

A company is refactoring an existing website to use Web services clients. The application retrieves lists of parts and displays them to the users in a browser window. Previously, the data was stored as files on the web server and, in order to access the files, the user would simply click on a hyperlink. Now the data must be dynamically generated via a service that another developer has created. They want the easiest way to refactor their website to use Web services. Which three client-side technologies should they use? (Choose three.)

  1. SOAP

  2. REST

  3. Javascript

  4. XML

  5. JSON

  6. JAVA

Answer: B,C,E

Question No: 3 – (Topic 0)

In the code fragment below, the client will use os to upload data to the web service provider.

Ensurepass 2018 PDF and VCE

Choose the statement that must be placed in line 5, to ensure this fragment works as intended. (Choose one)

  1. connection.setDoOutput(true);

  2. connection.setAllowUserInteraction(true);

  3. connection.setIfModifiedSince(new Date().getTime());

  4. connection.setUseCaches(false);

Answer: A

Question No: 4 – (Topic 0)

Given the resource class fragment:

Ensurepass 2018 PDF and VCE

Choose the code fragment below that would secure access only to the Resource update() method (Choose one):

  1. lt;security-constraintgt;






  2. lt;security-constraintgt;





  3. lt;security-constraintgt;






  4. lt;security-constraintgt;D.lt;security-constraintgt;





Answer: B

Question No: 5 – (Topic 0)

An organization has business logic implemented in EJB components. Current clients use container-managed, role-based security to access the business logic using RMI. Management has determined that the business logic must be made available to non-RMI clients using a Web service. Which container-managed Web service security mechanism would the development team?use to allow Web service clients to use the current security model? (Choose one)

  1. XKMS

  2. XACML

  3. XML Digital Signature

  4. HTTP Basic Authentication

  5. annotations mapped to the JAX-WS runtime

Answer: D

Question No: 6 – (Topic 0)

A developer creates a Web service for his company#39;s inventory service. He uses servlet container to deploy the web service and wants to enable basic authentication for all web service invocations. Where does the developer configure security requirements for the above case?

  1. sun-jaxws.xml

  2. web.xml

  3. webservices.xml

  4. domain.xml

Answer: B

Question No: 7 – (Topic 0)

Choose the option that best describe the deployer#39;s choices, when deploying an EJB that is also exposed as a RESTful web service using JAX-RS (Choose one):

  1. The EJB can only be deployed to a web container, since RESTful access to the EJB requires a web container to support the HTTP interaction needed.

  2. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the ejb container.

  3. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the web container.

  4. The EJB can be deployed to an EJB or web container that is visible to the JAX-RS runtime, even on an application server separate from the JAX-RS runtime, since EJBs support local or remote interactions via RMI.

Answer: C

Question No: 8 – (Topic 0)

Given the JAX-RS root resource class fragment:

Ensurepass 2018 PDF and VCE

Choose the statement that best describes the configuration that would be required to support the access control constraint shown:

  1. No further configuration is required – the JavaEE runtime will pick up the security constraint and configure the web container to match.

  2. The developer will have to configure the web container to require authenticated access to the URLs corresponding to this resource, so the proper information can be propagated to the EJB container.

  3. The developer will have to turn on authentication in the web container configuration file, so that all incoming requests are authenticated in order to be processed.

  4. The developer will have to configure the web container to require authenticated access to the URLs corresponding to this resource, and then map web-tier roles to ejb-tier roles, since the JAX-RS and EJB runtimes cannot use the same set of roles.

Answer: B

Question No: 9 – (Topic 0)

A developer needs to write a Web service that supports user sessions that timeout after 120 seconds. Which configuration file is correct for the developer use? (Choose one)

  1. web.xml

  2. server.xml

  3. ejb-jar.xml

  4. service-config.xml

Answer: A

Question No: 10 – (Topic 0)

A developer creates the following web service:

Ensurepass 2018 PDF and VCE

Assuming that he packages the class in a war file without deployment descriptors, the web service is hosted by a EE container relative to module context at ? (Choose one)

  1. quot;/Invoicequot;

  2. quot;/InvoicePortquot;

  3. quot;/InvoiceServicequot;

  4. quot;/InvoiceWebServicequot;

Answer: C

100% Ensurepass Free Download!
Download Free Demo:1z0-897 Demo PDF
100% Ensurepass Free Guaranteed!
1z0-897 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.