In the previous chapter, we created our Content Management System (CMS) application. We also introduced REST (Representational State Transfer) support in Spring, which enabled us to develop a simple web application. Also, we learned how dependency injection works in the Spring Framework, which is probably the most famous feature of the framework.
In this chapter, we will add more features to our application. Systems in the real world need to persist their data on a real database; this is an essential characteristic for a production-ready application. Also, based on our model, we need to choose the correct data structure to achieve performance and avoid the impedance mismatch.
In the first part of this chapter, we will use the traditional SQL database as a store for our application. We will deep dive on the Spring Data...