Jakarta RESTful Web Services
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 the REST styles are known as RESTful web services. We can develop RESTful web services in Jakarta EE via the Jakarta RESTful Web Services API, commonly known as Jakarta REST. In this chapter, we will cover how to develop RESTful web services using Jakarta REST.
The following topics will be covered in this chapter:
- Introduction to RESTful web services
- Developing a simple RESTful web service
- Developing a RESTful web service client
- Seamlessly converting between Java and JSON
- Query and path parameters
- Server-sent events
Note
Code samples for this chapter can be found at https://github.com/PacktPublishing/Jakarta-EE-Application-Development/tree/main/ch03_src.