nerdexam
Oracle

1Z0-897 · Question #95

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…

The correct answer is B. The attempt will be trivial to implement, since JAX-RS just needs for the application to specify that. See the full explanation below for the reasoning.

Question

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):

Options

  • AThe attempt will fail, because JAX-RS does not support both XML- and JSON- based restful services
  • BThe attempt will be trivial to implement, since JAX-RS just needs for the application to specify that
  • CThe attempt can succeed, but it will require a significant amount of new code, since JAX-RS does
  • DThe attempt will fail, because there is more to the difference between XML-based and JSONbased

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    71% (12)
  • C
    18% (3)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-897 Practice