Representational State Transfer (REST) is an architectural style in which web services are viewed as resources and can be identified by Uniform Resource Identifiers (URIs).
Web services developed using this styles are known as RESTful web services.
JAX-RS became part of Java EE in version 6 of the Java EE specification, although it had been available as a standalone API before then. In this chapter, we will cover how to develop RESTful web services through the JAX-RS API.
The following topics will be covered in this chapter:
- An introduction to RESTful web services and JAX-RS
- Developing a simple RESTful web service
- Developing a RESTful web service client
- Path parameters
- Query parameters
- Server-Sent events