You might look into the java-rest-binding which provides the neo4j-core-api to
the remote server.
https://github.com/neo4j/java-rest-binding
As for examples, I'm currently working on a template repository for heroku
templates that uses this rest-binding with the playframework (my first
playframework project, so bear with me).
(https://github.com/jexp/shareheroku-java)
Cheers
Michael
Am 08.01.2012 um 14:22 schrieb David Smith:
> My main question here is how do I talk to a standalone Neo4J Server
> using the Java API, can anyone provide a java example?
> Can the java api talk to an already running standalone Neo4J Server?
>
> I have played with EmbeddedGraphDatabase.
>
> If I have a web app (Grails/Groovy - Java), which method of talking to
> Neo4J would I use - EmbeddedGraphDatabase or Standalone Server?
>
> One example I have seen:
>
> AbstractGraphDatabase graphdb = getGraphDb();
> WrappingNeoServerBootstrapper srv;
> srv = new WrappingNeoServerBootstrapper( graphdb );
> srv.start();
> // The server is now running
> // until we stop it:
> srv.stop();
>
>
> How do I create the AbstractGraphDatabase?
> Is this really talking to the standalone server or is getGraphDb just
> instantiating an EmbeddedGraphDatabase and wrapping that to enable the
> web stats?
>
> Is it best to start the server as a service or start it from the web
> app?
>
> Thanks
> David
> ___
> NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register
> and consider posting at https://groups.google.com/forum/#!forum/neo4j
>
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
___
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register
and consider posting at https://groups.google.com/forum/#!forum/neo4j
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user