Which is a valid description of REST?
Click on the arrows to vote for the correct answer
A. B. C. D.D.
https://docs.oracle.com/javaee/6/tutorial/doc/giepu.htmlREST (Representational State Transfer) is an architectural style that is commonly used for building web services. RESTful web services enable communication between different software applications over the internet, where the client and server communicate by exchanging representations of resources, such as JSON or XML.
Let's examine the given options:
A. This option is incorrect. REST and SOAP (Simple Object Access Protocol) are two different architectural styles for building web services. REST is based on the HTTP protocol, while SOAP uses XML messaging format for communication.
B. This option is partially correct. JAX-RS (Java API for RESTful Web Services) is a library that is part of Java EE (Enterprise Edition), which provides a set of APIs for building RESTful web services in Java. However, REST itself is not a library that is part of JEE, but rather an architectural style.
C. This option is correct. REST is a convention for building web services in which resources are identified by URIs (Uniform Resource Identifiers) and can be manipulated using a limited set of HTTP methods, such as GET, POST, PUT, DELETE, and PATCH.
D. This option is partially correct. REST is not a Web Services standard, but rather an architectural style. However, JEE and JAX-RS do provide support for building RESTful web services in Java.
In summary, option C is the most accurate description of REST, while option B and D contain some elements of truth but are not entirely accurate. Option A is incorrect.