title: Neo4j unmanaged extension with Spring Data
body: <p>I was advised to develop Neo4j extension because of poor performance due to the many calls to the Neo4j REST interface introduced by Spring Data Neo4j. For the good start I was able to run simply Neo4j extension from Neo4j documentation:
  <a href="http://docs.neo4j.org/chunked/stable/server-unmanaged-extensions.html" rel="nofollow">http://docs.neo4j.org/chunked/stable/server-unmanaged-extensions.html</a>
  Now I have to move some logic from my web service to Neo4j extension to make communication between them as small as possible. However, my web service is based on Spring Data Neo4j as well as Spring Data JPA, so to reuse my actual code I would like to use also Spring Data in my extension. I have found this documentation:
  <a href="http://docs.spring.io/spring-data/data-neo4j/docs/current/reference/html/reference_neo4j-server.html" rel="nofollow">http://docs.spring.io/spring-data/data-neo4j/docs/current/reference/html/reference_neo4j-server.html</a>
  but it is not clear for me and there is no working example. Is there any sample code with such integration?</p>