Skip to content
Andreas Kollegger edited this page Sep 29, 2011 · 1 revision

Deployment Best Practice

Spring Data Neo4j can be integrated with your application using two different programming paradigms (load/store or delegation) in any of three different configurations. This diagram shows the deployment permutations, with current best practices in green, numbered to reflect overall best practice.

  1. Embedded Delegate - Using Neo4j as an embedded database is still the most high-performance and capable approach for development. This should be the default implementation path for all new projects.
  2. Server Load/Store - For server deployment, Neo4j is best accessed in a traditional load/store pattern. This is recommended only when it is desirable to have a physical separation of the application and persistence layers.
  3. Plugin - For advanced users already using a server deployment, adding domain specific plugins effectively allows for stored procedures to be used in Neo4j to optimize some access.

Clone this wiki locally