nerdexam
Oracle

1Z0-599 · Question #22

Identify four valid requests in a RESTful service using JAXRS.

The correct answer is A. GET B. PUT D. DELETE E. POST. The following principles encourage RESTful applications to be simple, lightweight, and fast: Resource identification through URI Uniform interface: Resources are manipulated using a fixed set of four create, read, update, delete operations: PUT, GET, POST, and DELETE. PUT…

Deploying Applications

Question

Identify four valid requests in a RESTful service using JAXRS.

Options

  • AGET
  • BPUT
  • CUPDATE
  • DDELETE
  • EPOST
  • FREMOVE

How the community answered

(18 responses)
  • A
    89% (16)
  • C
    6% (1)
  • F
    6% (1)

Explanation

The following principles encourage RESTful applications to be simple, lightweight, and fast: * Resource identification through URI * Uniform interface: Resources are manipulated using a fixed set of four create, read, update, delete operations: PUT, GET, POST, and DELETE. PUT creates a new resource, which can be then deleted by using DELETE. GET retrieves the current state of a resource in some representation. POST transfers a new state onto a resource. See Responding to HTTP Methods and Requests for more information. * Selfdescriptive messages * Stateful interactions through hyperlinks

Topics

#JAX-RS#REST#HTTP methods#web services

Community Discussion

No community discussion yet for this question.

Full 1Z0-599 Practice