Spring Data MongoDB Simple Find example

Spring Data for MongoDB is part of the umbrella Spring Data project which aims to provide a familiar and consistent Spring-based programming model for for new datastores while retaining store-specific features and capabilities. See more about SpringData

In this example we will see how to save and retrieve Customer bean using SpringData and Mongodb.