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

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

Question No: 21 – (Topic 0)

In which order do LogicalHandlers and SOAPHandlers configured on a Web Service endpoint execute on an incoming message ? (Choose one)

  1. SOAPHandlers in the order specified in configuration are executed first and later the LogicalHandlers specified in the order get executed

  2. LogicalHandlers in the order specified in configuration are executed first and later the SOAPHandlers specified in the order get executed

  3. All the handlers are executed in the order specified in the configuration

  4. All the handlers are executed in the reverse order specified in the configuration.

Answer: A

Question No: 22 – (Topic 0)

Ensurepass 2018 PDF and VCE

Assume the code is free of gross flaws and syntax errors. Which two statements are true? (Choose two.)

  1. Line 8 specifies that addInventory accepts either a valid total or quantity.

  2. Line 1 indicates the portType is LogInventory.

  3. Line 3 shows the method is mapped to the WSDL operation called quot;checkProductquot;.

  4. Line 4 means that a method is not expected to return a value unless requested.

  5. Line 7 implies WSDL operation and method name are the same.

Answer: B,E

Question No: 23 – (Topic 0)

A developer is asked to determine which Web services approach is correct for a new project. A SOAP-based Web service must be created and deployed in an environment where many customers will use it. These customers will be responsible for developing their own clients using different frameworks, based on the published WSDL. Which approach is correct to use first in this situation? (Choose one)

  1. Java, because the WSDL generated later will be more accurate

  2. WSDL, because the service and customers can benefit from the strongly typed schema

  3. Java, because the service must be efficient to support many customers

  4. WSDL, because tools allow existing classes to be easily mapped without modification

Answer: B

Question No: 24 – (Topic 0)

Which of the following two EJB types can be used as web service endpoints ? (Choose two.)

  1. Stateful Session EJB

  2. Message-Driven EJB

  3. Stateless Session EJB

  4. Singleton Session EJB

Answer: C,D

Question No: 25 – (Topic 0)

Which of the following can an EJB-based web service endpoint may NOT be able to use ?

  1. Servlet sessions

  2. Java EE 6 declarative security

  3. container-managed transactions

  4. dependency injection

Answer: A

Question No: 26 – (Topic 0)

A developer is creating a web service endpoint using a stateless session EJB.

Ensurepass 2018 PDF and VCE

What must be the value for lt;ejb-linkgt; for the above service in the webservices.xml ? (Choose one)

  1. CounterEJB

  2. Counter

  3. CounterService

  4. CounterPort

Answer: A

Question No: 27 – (Topic 0)

An engineer is creating a WSDL 1.1 document, and is having difficulty with the wsdl:messages section.

Which two statements are true about wsdl:messages in a WSDL 1.1 document? (Choose two.)

  1. Both type and element attributes can be used on the same wsdl:part.

  2. Both type and element attributes can be used on the same wsdl:binding.

  3. The type and element attributes cannot be used on the same wsdl:part.

  4. The type and element attributes cannot be used on the same wsdl:binding.

  5. Document-style messaging allows the type attribute.

  6. Document-style messaging allows the element attribute.

Answer: C,F

Question No: 28 – (Topic 0)

Given the class:

Ensurepass 2018 PDF and VCE

Choose the option that describes what would happen if this class were deployed (Choose one):

  1. Any HTTP GET or POST request with the URL quot;/resourcequot; would result in a call to getName().

  2. Any HTTP GET or POST request with URLs that begin with quot;/resourcequot; would result in a call to getName().

  3. A runtime error would result, since a method cannot be responsible for both GET and POST requests.

  4. A compile error would result, since a method cannot be responsible for both GET and POST requests.

Answer: A

Question No: 29 – (Topic 0)

Which of the following is NOT true about configuring handlers on a Web Service endpoint? (Choose one)

  1. EE container automatically processes the handlers packaged in the application and configures it on the applicable endpoint

  2. Handlers can be configured using @HandlerChain annotation on endpoints configured with @WebService

  3. Handlers can be configured using @HandlerChain annotation on endpoints configured with @WebServiceProvider

  4. Handlers can be configured for endpoints in the deployment descriptor

(webservices.xml)

Answer: A

Question No: 30 – (Topic 0)

Choose the JAX-RS type that is used to produce URLs to resources, given the resource class, to incorporate into resource responses (Choose one):

  1. UriBuilder

  2. UriInfo

  3. UriMapper

  4. Producer

Answer: A

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
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Comments are closed.