In this chapter, you’ll learn to use Spring Data, a Spring ecosystem project that gives you the possibility of implementing a Spring app’s persistence layer with minimum effort. As you already know, an application framework’s essential role is providing out-of-the-box capabilities that you can directly plug into apps. Frameworks help us save time and also make apps’ design easier to understand.
You’ll learn to create the app’s repositories by declaring interfaces. You’ll let the framework provide implementations for these interfaces. You’ll literally enable your app to work with a database without implementing the repository yourself and with minimum effort.