Use Neo4j server from java code

54 views
Skip to first unread message

Sotiris Beis

unread,
May 9, 2014, 6:53:51 AM5/9/14
to ne...@googlegroups.com
Hi I had a problem with multiple instances of the same graph database as described here https://groups.google.com/forum/#!searchin/neo4j/Multiple$20instances$20of$20a$20Neo4j$20graph$20database/neo4j/6sWGj7_nRBg/K78E4A2Smr4J . I find out this is possible if i use the server version of Neo4j. I want to know what is the best way to do so? As far as i know there are two alternatives:

Thanks,
Sotiris

Michael Hunger

unread,
May 9, 2014, 8:18:27 PM5/9/14
to ne...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sotiris Beis

unread,
May 10, 2014, 9:40:57 AM5/10/14
to ne...@googlegroups.com

Hi Michael,

What's the best solution eg in terms of performance? All of them follow the release of neo4j?

Sotiris

You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/Qn8i_Pp9fyY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.

Sotiris Beis

unread,
May 12, 2014, 9:30:02 AM5/12/14
to ne...@googlegroups.com


Τη Σάββατο, 10 Μαΐου 2014 4:40:57 μ.μ. UTC+3, ο χρήστης Sotiris Beis έγραψε:

Hi Michael,

What's the best solution eg in terms of performance? All of them follow the release of neo4j?

Sotiris

On May 10, 2014 3:05 PM, "Michael Hunger" <michael.hunger@neotechnology.com> wrote:
Am 09.05.2014 um 03:53 schrieb Sotiris Beis <sot....@gmail.com>:

Hi I had a problem with multiple instances of the same graph database as described here https://groups.google.com/forum/#!searchin/neo4j/Multiple$20instances$20of$20a$20Neo4j$20graph$20database/neo4j/6sWGj7_nRBg/K78E4A2Smr4J . I find out this is possible if i use the server version of Neo4j. I want to know what is the best way to do so? As far as i know there are two alternatives:

Thanks,
Sotiris

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/Qn8i_Pp9fyY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+unsubscribe@googlegroups.com.

Michael Hunger

unread,
May 12, 2014, 9:56:31 AM5/12/14
to ne...@googlegroups.com
Good question. In the JDBC driver at least I used streaming from remote.

Java-Rest-Binding less performant.

The follow the release cycle in a loose fashion, but as it is cypher over the wire that doesn't matter so much as the API is stable.

Michael

Sotiris Beis

unread,
May 12, 2014, 10:53:48 AM5/12/14
to ne...@googlegroups.com
I was between REST API from Java (http://docs.neo4j.org/chunked/milestone/server-java-rest-client-example.html) and the Neo4j java rest binding. The first one because Neo4j manual suggests it and the second because is more convienient for me since I have experience with the Neo4j embedded version.

Why should I choose the Neo4j JDBC Driver, since JDBC is oriented for relational databases.

Java-Rest-Binding less performant.
The performance penalty is big?

Sotiris
Reply all
Reply to author
Forward
0 new messages