Java EE 7 Application Developer — Question 31
Which is a valid description of REST?
Answer options
- A. REST provides the same architectural properties as SOAP.
- B. REST is a library that is part of JEE called JAX-RS.
- C. REST is the conventional way of interacting with information resources.
- D. REST is a Web Services standard supported by JEE and JAX-RS.
Correct answer: D
Explanation
The correct answer, D, is accurate as REST is indeed a standard for Web Services that is supported by JEE and JAX-RS. Option A is incorrect because REST and SOAP have different architectural properties. Option B is misleading as REST itself is not a library but a set of principles, while JAX-RS is a specification that implements RESTful web services. Option C is too broad and does not capture the fact that REST is specifically a set of architectural constraints.