Chapter 9. Using JAX-RS 2.0 in Java EE 7 with RESTEasy
JSR 311 (http://jcp.org/en/jsr/detail?id=311) specifies the Java API for RESTful Web services (JAX-RS) for developing REST (Representational State Transfer) Web services with Java. REST is a protocol independent, loosely coupled, software architecture style for distributed systems. A RESTful Web service exposes a set of resources, which are simply sources of information, identified by URIs (Uniform Resource Identifiers) in HTTP. RESTful Web services follow these RESTful principles:
- Every resource has a unique base URI
- For invoking Web service operations, the HTTP protocol methods such as
- A client sends a request to a service, and the service returns a representation ...