Want to know Ucertify 1Z0-897 Exam practice test features? Want to lear more about Oracle Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam certification experience? Study Free Oracle 1Z0-897 answers to Leading 1Z0-897 questions at Ucertify. Gat a success with an absolute guarantee to pass Oracle 1Z0-897 (Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam) test on your first attempt.
2016 Aug 1Z0-897 exam price
Q41. Given the JAX-RS root resource class fragment:
Choose the statement that best describes the configuration that would be required to support the access control constraint shown:
A. No further configuration is required - the JavaEE runtime will pick up the security constraint and configure the web container to match.
B. 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.
C. 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.
D. 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.
Q42. Choose the option that best describe the deployer's choices, when deploying an EJB that is also exposed as a RESTful web service using JAX-RS (Choose one):
A. 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.
B. 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.
C. 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.
D. 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.
Q43. Which two statements are true about creating a Web service with JAX-WS? (Choose two.)
A. Stateless Web services must be created with HTTP servlet endpoints.
B. Creating the portable artifacts by hand is slow, but makes a service easier to maintain.
C. All Java-based endpoints share a common packaging model.
D. EJBs can serve as endpoints if hosted in a container with runtime and service support.
E. JAX-WS supports creating services from source and compiled code without a WSDL.
Q44. Which of the following is NOT true about configuring handlers on a Web Service endpoint? (Choose one)
A. EE container automatically processes the handlers packaged in the application and configures it on the applicable endpoint
B. Handlers can be configured using @HandlerChain annotation on endpoints configured with @WebService
C. Handlers can be configured using @HandlerChain annotation on endpoints configured with @WebServiceProvider
D. Handlers can be configured for endpoints in the deployment descriptor (webservices.xml)
Q45. Where can a developer specify confidentiality or integrity constraints on communications with a Enterprise Bean exposed as a JAX-RS root resource?(Choose one)
A. As annotations on the EJB exposed as a root resource.
B. In the deployment descriptor for the EJB exposed as a root resource.
C. In the deployment descriptor for the web application that is hosting the JAX-RS resource.
D. In the vendor-specific configuration file for the container that is hosting the JAX-RS resource.
Refresh 1Z0-897 simulations:
Q46. Which of the following two EJB types can be used as web service endpoints ? (Choose two.)
A. Stateful Session EJB
B. Message-Driven EJB
C. Stateless Session EJB
D. Singleton Session EJB
Q47. In which order do LogicalHandlers and SOAPHandlers configured on a Web Service endpoint execute on an incoming message ? (Choose one)
A. SOAPHandlers in the order specified in configuration are executed first and later the LogicalHandlers specified in the order get executed
B. LogicalHandlers in the order specified in configuration are executed first and later the SOAPHandlers specified in the order get executed
C. All the handlers are executed in the order specified in the configuration
D. All the handlers are executed in the reverse order specified in the configuration.
Q48. When a SOAP envelope is optimized on the wire, the following can be said about the optimized infoset : (Choose one)
A. optimized infoset contains xop:Include elements with href attribute pointing to attachment data
B. optimized infoset contains mtom:Import with location attribute pointing to attachment data C. optimized infoset doesn't have any specific elements for MIME attachment.
D. optimzed infoset's element contain cid:Content-ID as the text and Content-ID refers to the associated attachment
Q49. Which of the following security technology is not covered in Metro project? (Choose one.)
Q50. Choose the statement that best describes the use of Enterprise Beans as JAX-RS root resources:
A. An Enterprise Bean can be made a JAX-RS root resource only if EJB-specific features such as transaction management or security validation are not used.
B. JAX-RS imposes no limitations on the characteristics ofthose Enterprise Beans that can be exposed as JAX-RSresource classes.
C. An Enterprise Bean that is exposed as a JAX-RS root resourcecan no longer be used directly as a remote bean itself - thebean implementation class can be accessed via the remote EJBdistributed framework (RMI), or a JAX-RS root resource, but not both concurrently within the same application.
D. An Enterprise Bean that is exposed as a JAX-RS root resource supports all the same features as a JAX-RS resource that it supports as an EJB.