In this chapter, we will first create a RESTful web service using the controller class. After that, we will demonstrate how to use Spring Data REST to create a RESTful web service that also covers all CRUD functionalities automatically. We are using the database application that we created in the previous chapter as a starting point.
In this chapter, we will look into the following:
- What the RESTful web service is
- How to create a RESTful web service with Spring Boot
- How to test the RESTful web service