This chapter explains the basic foundations of Spring Data repositories and MongoDB specifics. Before continuing to the MongoDB specifics, make sure you have a sound understanding of the basic concepts.

The goal of the Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.