READ Free Dumps For Oracle- 1z0-897
Question ID 4434 | 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): |
Option A | A. The attempt will fail, because JAX-RS does not support both XML- and JSON- based restful services in parallel. |
Option B | B. 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. |
Option C | C. 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. |
Option D | D. The attempt will fail, because there is more to the difference between XML-based and JSON-based interactions than just the data representation used. |
Correct Answer | B |
Question ID 4435 | 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.) |
Option A | A. SOAP |
Option B | B. REST |
Option C | C. Javascript |
Option D | D. XML |
Option E | E. JSON |
Option F | F. JAVA |
Correct Answer | B,C,E |