Sunday, December 18, 2011

Domain Modeling With Spring Data Neo4j

Spring Data Neo4j provides a powerful framework for building applications with simple POJO annotations.  In this blog post, Willie Wheeler explains domain modeling with Neo4j using Spring Data Neo4j.
Focusing on a Person entity (common in so many applications), Willie shows the annotations needed to map into Neo4j nodes and relationships. Then he introduces a repository to retrieve instances from the database, and a controller to expose it all to the web.

The standard looking class diagram is something like this:

Read on to appreciate the simplicity.

No comments: