Reputation: 793
I want to build a RESTful Application with Spring using Neo4j as a Database. What I (very simply) want to have, is an application that takes entities (like a user) via POST, persists them in a Neo4j Database and loads them on a GET.
I tried the spring tutorials (build an embedded graphdb and also accessing an external graphdb via rest) for that and it worked, but it seems that i can't use the neo4j standalone to view the database live, because it seems to be locked by my application.
It is important for me to have some kind of method to view the live database, so I'm stuck. So basically I'm looking for a simple way to have an application writing to and reading from an external graphdb, which I can manipulate with the neo4j standalone (or some alternative program).
I' asking here, because at this point I don't even know what to goole anymore :)
Upvotes: 0
Views: 95
Reputation: 793
Thanks to your answers, I have some examples that show me the intended use of Neo4j which helps me a lot. Basically github.com/neo4j-examples?utf8=%E2%9C%93&query=sdn4 was the answer to all my questions, since it provides me with a useful "look how it's done". Thank you.
Upvotes: 0
Reputation: 41706
There are two options: http://neo4j.com/developer/spring-data-neo4j
1) with Spring Data Neo4j version 4 you can work against Neo4j server 2) with Spring Data Neo4j 3, you can move your code into a server extension 3) there is also an option to start Neo4j server with an embedded database (this should only be done during development not production)
Upvotes: 1