we provide Simulation Oracle 1Z0-897 dumps which are the best for clearing 1Z0-897 test, and to get certified by Oracle Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam. The 1Z0-897 Questions & Answers covers all the knowledge points of the real 1Z0-897 exam. Crack your Oracle 1Z0-897 Exam with latest dumps, guaranteed!

Q11. Given this class: Choose the statement that best describes the potential to write a client implemented using JAX-WS to interact with the JAX-RS (restful) web service defined by this class (Choose one): 

A. It is impossible, since JAX-WS requires that the underlying interaction be SOAP-based, and JAX-RS does not support SOAP. 

B. It is impossible, since JAX-RS does not support the same extension mechanism via JAX-WS Handlers that JAX-WS supports. 

C. It is possible, since the JAX-WS API can be used to create a client that uses a simple raw XML protocol to interact with a service at a given URL. 

D. It is possible, since a JAX-WS proxy Port type can be generated to use a simple raw XML protocol to interact with a service at a specific fixed URL. 

Answer:


Q12. A company is implementing an accounting system, where every transaction is monitored and audited. They must implement message-oriented Web services in their accounting package to integrate various modules. All errors in computation or transmission must be logged. Which technology will they use? 

A. SOAP 

B. REST 

C. JSON 

D. JSP 

Answer:


Q13. A company is building a customer relationship management system that is to be deployed on a customer's network, and they want software functions to be reused and combined in different modules in the system. The Director of Technology has determined that the new system should utilize both Web services and a Service Oriented Architecture (SOA). Which two statements about Web services in an SOA are correct? (Choose two.) 

A. A Web service must be discovered from a UDDI registry in an SOA. 

B. SOA and Web services both use the HTTP protocol at the transport layer. 

C. A Web service must publish itself to a UDDI registry to become part of an SOA. 

D. SOA is a way to design a system and Web services are a possible implementation. 

E. SOA is used for stateless invocations, and Web services for stateful invocations. 

F. SOA emphasizes the concept of service encapsulation and Web services fulfill a service contract. 

Answer: DF 


Q14. Given the two classes: 

Choose the option that best evaluates the example: 

A. This is a valid example of two EJBs used as JAX-RS resources, one a root resource and the other a subresource. 

B. This is an invalid example, because EJBs that are to be used as JAX-RS subresources have to match the type of EJB of their "parent" resource. 

C. This is an invalid example, because singleton EJBs used as JAX-RS resources must explicitly state what locking strategy they will require. 

D. This is an invalid example, because the JAX-specification only allows root resource types to also be EJBs. 

Answer:


Q15. 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 

Answer:


Q16. A developer creates the following web service: 

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) 

A. "/Invoice" 

B. "/InvoicePort" 

C. "/InvoiceService" 

D. "/InvoiceWebService" 

Answer:


Q17. 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. 

Answer:


Q18. Choose the code fragment that corresponds to a resource delegating processing of a request to a subresource correctly, when processing the URL "/parent/child" (Choose one): 

A. @Path("/parent") class Parent { 

@Path("/child") 

Child getChild() { return new Child(); } 

class Child { 

@GET String getName() { return "name"; } 

B. @Path("/parent") 

class Parent { 

@GET @Path("/child") 

Child getChild() { return new Child(); } 

class Child { 

@GET String getName() { return "name"; } 

C. @Path("/parent") 

class Parent { 

@Path("/child") 

Child getChild() { return new Child(); } 

@Path("/child") 

class Child { 

@GET String getName() { return "name"; } 

D. @Path("/parent") 

class Parent { 

@Path("/child") 

Child getChild() { return new Child(); } 

class Child { 

String getName() { return "name"; } 

Answer:


Q19. Which two statements are true about the I-Stack and annotations technologies? (Choose two.) 

A. With 64-bit Java, JAXB compatible parameters are preferred for performance. 

B. @WebMethod is required for private methods, but public methods are exposed in any service automatically. 

C. Declaring business methods final is a good way to protect the integrity of the implementation class. 

D. Method parameters and return types must be compatible with the JAXB 2.0. 

E. JAX-WS uses annotations to invoke Web service requests at runtime. 

Answer: DE 


Q20. Enterprise A invokes a Web service provided by enterprise B with some parameters, and receives a response. A developer is making this interaction asynchronous so that A does not have to wait for B to finish processing. Which two actions would be appropriate to fulfill this requirement? (Choose two.) 

A. Establish a Web service endpoint for enterprise A to receive the response. 

B. Partition the endpoint implementation in to interaction and processing layers so responses can be received independently. 

C. Convert all Web service methods to use XML documents as parameters and return values. 

D. Embed a correlation identifier in the request so that enterprise B can associate the response with it. 

E. Read messages from a queue populated by enterprise B at peak hours when response times are too slow 

Answer: AD