This section will introduce MongoDB, and how to use Spring Data MongoDB repositories to provide Create, Retrieve, Update, and Delete (CRUD) operations on MongoDB easily.
Using Spring Data MongoDB for persistence
Understanding MongoDB
MongoDB is a free and open source document store that stores data in a schemaless JSON format that is highly flexible. Each individual document can have different fields. It allows ad-hoc querying, indexing, and aggregation out of the box.
MongoDB can provide high availability, horizontal scalability (scale out), and geographical distribution. MongoDB simplifies development by providing drivers in multiple programming languages, such as C++, C#, JavaScript, Java, and so on.
The following are...