How to use Spring Boot, Spring Data, and Neo4j together.
Spring Data Neo4j enables convenient integration of Neo4j in your Spring-based application. It provides object-graph mapping (OGM) functionality and other features common to the Spring Data projects.
Note
|
This project uses Spring Data Neo4j 6. The previous version, using SDN 5 + OGM can still be accessed under the https://github.com/neo4j-examples/movies-java-spring-data-neo4j/tree/sdn5-ogm branch. |
Note
|
For a broader overview of Spring Data Neo4j 6 with the same dataset, you can access the https://github.com/neo4j-examples/movies-java-spring-data-neo4j/tree/sdn6-full-example branch. |
The example project is described in detail on the Neo4j Developer Site
The project uses Java 17.
These are the components of our Web Application:
-
Application Type: Spring-Boot Java Web Application
-
Web framework: Spring-Boot enabled Spring-WebMVC
-
Persistence Access: Spring-Data-Neo4j 6.x
-
Database: Neo4j-Server 4.4, or 5.x
-
Frontend: jquery, bootstrap, d3.js
Provision a database quickly with Neo4j Sandbox or Neo4j Aura.