Getting Started with Spring Data MongoDB using Java Configuration

In this tutorial I’ll show you how to use Spring Data MongoDB to integrate a MongoDB NoSQL database into a Spring Boot application.

I’ll use these technologies and tools:

  • Spring Tool Suite (STS) 3.8.4.RELEASE
  • Java 8
  • Spring Boot 1.5.3.RELEASE
  • Maven 3.3.9
  • MongoDB 3.3.4

1. The Project Structure

The final folder structure of our project.

The project structure of our Spring Data MongoDB Project as seen in STS Continua a leggere Getting Started with Spring Data MongoDB using Java Configuration