Try the jdbc-driver, which supports cypher and the streaming transactional endpoint.
https://github.com/neo4j-contrib/neo4j-jdbc#minimum-viable-snippet For an example see here: https://github.com/neo4j-contrib/developer-resources/tree/gh-pages/examples/java/jdbc Cheers, Michael Am 04.09.2014 um 10:58 schrieb Peter Webber <[email protected]>: > > I need to read and write to a remote Neo4J server from Java. What is my best > option? > > I am currently using java-rest-binding > (https://github.com/neo4j-contrib/java-rest-binding). The issue here is that > when I try to read e.g. a node with one label and 15 properties, it sends 17 > requests: One for the node, one for the label and 15 for the properties. This > makes the whole thing really slow. > > With other DBs, e.g. MongoDB or Elasticsearch one can simply pass some JSON > to their API, which gets send to the server as one request and the server > then splitts it up. This seems way more efficient. > > What would be a fast and efficient solution for Neo4J? > > Thanks! > > > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
