1Z0-897 Free Dumps Study Materials
Question 6: 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):
A. The attempt will fail, because JAX-RS does not support both XML- and JSON- based restful services in
parallel.
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.
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.
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