Chapter 1 discussed mechanisms to persist the information. One of them is Spring Data which offers the possibility to persist the information using different databases with a certain level of abstraction and solve most of the common operations without requiring many lines of code.
This chapter covers the basics of Spring Data, including how the repositories work and define custom implementations. These topics are relevant because most of them are used in the remaining chapters.