Our pass rate is high to 98.9% and the similarity percentage between our 1Z0-897 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Oracle 1Z0-897 exam in just one try? I am currently studying for the Oracle 1Z0-897 exam. Latest Oracle 1Z0-897 Test exam practice questions and answers, Try Oracle 1Z0-897 Brain Dumps First.

Q1. An engineer is studying the architecture of the JAXB implementation. What are three components in its design? (Choose three.) 

A. Schema compiler. 

B. Built-in SAX parser 

C. Schema generator. 

D. Built-in DOM parser. 

E. Binding runtime framework. 

F. Schema interpreter. 

Answer: ACE 


Q2. 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:


Q3. Which two statements are true about WSIT client development and using the WSIT configuration file? (Choose two.) 

A. Client configuration files do NOT contain information security features, such as authentication. 

B. The file contains the URL for the WSDL. 

C. To maintain interoperability, the configuration file must not name packages. 

D. A WSIT client uses the file as a WSDL proxy is available from any WSIT compliant service. 

E. The wsimport tool uses the file to access the WSDL and build stubs to access a service. 

Answer: BE 


Q4. Choose three ways to enable MTOM on a web service endpoint deployed in an EE container ? (Choose three) 

A. enabled by the container automatically 

B. by specifying @MTOM annotation on the endpoint's class 

C. by specifying <enable-mtom> in webservices.xml deployment descriptor 

D. by specifying a wsoma:MTOM policy in WSDLE. by specifying <mtom> element in sun-jaxws.xml 

Answer: BCD 


Q5. Which two code fragments are valid for adding an attachment in SAAJ? (Choose two.) 

A. AttachmentPart attachment = 

request.createAttachementPart(); 

String stringContent = Update total; 

attachment.setContent(stringContent,text/plain); 

attachment.setContentID(update_total); 

request.addAttachmentPart(attachment); 

B. Attachment attachment = 

request.createAttachement(); 

String stringContent = Update total; 

attachment.setContent(stringContent,text/plain); 

attachment.setContentID(update_total); 

request.addAttachment(attachment); 

C. URL url = new URL(http://eshop.com/products/tb.jpg); 

DataHandler datahandler = new DataHandler(url); 

AttachmentPart attachment = 

request.createAttachmentPart(dataHandler); 

attachment.setContentID (attached_image); 

request.addAttachmentPart(attachment); 

D. URL url = new URL(http://eshop.com/products/tb.jpg); 

DataHandler datahandler = new DataHandler(url); 

Attachment attachment = 

request.createAttachment(dataHandler); 

attachment.setContentID (attached_image); 

request.addAttachment(attachment); 

E. Attachment attachment = 

request.newAttachement(); 

String stringContent = Update total; 

attachment.setContent(stringContent,text/plain); 

attachment.setContentID(update_total); 

request.setAttachment(attachment); 

Answer: AC 


Q6. What would be the HTTP content-type header when a message is optimized using MTOM ? (Choose one) 

A. multipart/related 

B. text/xml 

C. application/soap+xml 

D. application/xop+xml 

Answer:


Q7. Given stock quote web service endpoint: 

and the corresponding client side artifacts for the above web service are : 

StockQuoteService is the Service class and StockQuoteProvider is the corresponding SEI. Which of the following two options enable addressing feature for proxy for the StockQuoteProvider SEI ? (Choose two) 

A. proxy = new StockQuoteService().getStockQuoteProvider() 

B. proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature()) 

C. proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature(false)) 

D. proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature(false, true)) 

Answer: AB 


Q8. 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: