Re: [Neo4j] Connect Neo4j using java API

3,206 views
Skip to first unread message

Axel Morgner

unread,
Aug 31, 2012, 5:19:23 PM8/31/12
to ne...@googlegroups.com
Yes, that's possible.

Check http://docs.neo4j.org/chunked/stable/tutorials-java-embedded.html for details.

Am 31.08.2012 21:41, schrieb saikat mohajan:
Is it possible to connect to Neo4j Server using java API, not using REST or Embedded Database. All the examples in github is using either embeded database or REST API. My web server and the Neo4j server is running in two seperate hosts. I don't want to use the REST API. I have to connect to the Neo4j server from my web application. I am not sure how to do that without using REST API

Thanks in advance for any advise or help.
--
 
 


--

Axel Morgner · ax...@morgner.de · @amorgner

c/o Morgner UG · Hanauer Landstr. 291a · 60314 Frankfurt · Germany
phone: +49 151 40522060 · skype: axel.morgner

structr - Open Source CMS and Web Framework based on Neo4j: http://structr.org
structr Mailing List and Forum: https://groups.google.com/forum/#!forum/structr
Graph Database Usergroup "graphdb-frankfurt", sponsored by Neo4j: http://www.meetup.com/graphdb-frankfurt
Das Sport-Sharing-Netzwerk des Deutschen Olympischen Sportbundes (DOSB): https://splink.de


Duane Nickull

unread,
Aug 31, 2012, 5:38:23 PM8/31/12
to ne...@googlegroups.com
I wrote up a couple here too.


Duane Nickull
***********************************
Technoracle Advanced Systems Inc.
Consulting and Contracting; Proven Results!
i.  Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
t.  @duanechaos
"Don't fear the Graph!  Embrace Neo4J"


Peter Neubauer

unread,
Jan 11, 2013, 10:39:13 AM1/11/13
to Neo4j User
Andrey,
a binary protocol is in the making - this will be started in a couple
of weeks, the list here will be sure to be informed. But before that,
there are other cool things on the roadmap. Superexcited over the
coming month - stay tuned!

/peter

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

Neo4j 1.8 GA - http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html


On Fri, Jan 11, 2013 at 4:12 PM, Andrey Stukalenko <angel...@gmail.com> wrote:
> Have been looking for the same.
>
> It seems that there's no ordinary way to do that. The only thing that looks
> like the solution is to use the neo4j HA Cluster. That means that you still
> will have the embedded database along with your web application, but at
> least you will reduce the load through balancing. Still, that's quite a poor
> workaround.
>
> In my project we finally considered using OrientDB instead of neo4j because
> of inability to use binary protocol from java and no blueprints
> implementation for remote server.
>
> And to previous commenters - the question was on how to connect to the
> server, NOT embedded database.

Michael Hunger

unread,
Feb 17, 2013, 12:06:26 PM2/17/13
to ne...@googlegroups.com
Not yet. 

Neo4j.org works for me.

Michael

Sent from mobile device

Am 17.02.2013 um 11:45 schrieb Fred Janon <fja...@gmail.com>:

Sorry if there is an obvious answer on the website by it's down today...

Is this binary protocol implemented now?

Thanks

Fred

--
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/groups/opt_out.
 
 

Michael Hunger

unread,
Apr 20, 2013, 6:20:25 AM4/20/13
to ne...@googlegroups.com
There is a transactional http endpoint for cypher in 2.0 as the first step.

based on this commit, this will avaiable in the 2.0 M02 milestone.

https://github.com/neo4j/neo4j/pull/672/commits

Currently we have the java-rest binding: http://github.com/neo4j/java-rest-binding

On the JVM you can also use the bindings in other jvm languages like anormcypher (scala) or neocons (clojure).

Am 20.04.2013 um 11:22 schrieb Michele Sama:

Are there any updates on this "was on the making" binary protocol for Java.
Even a java-rest wrapper would be nice, something as they did for clojure or python


On Friday, August 31, 2012 8:41:09 PM UTC+1, saikat mohajan wrote:
Is it possible to connect to Neo4j Server using java API, not using REST or Embedded Database. All the examples in github is using either embeded database or REST API. My web server and the Neo4j server is running in two seperate hosts. I don't want to use the REST API. I have to connect to the Neo4j server from my web application. I am not sure how to do that without using REST API

Thanks in advance for any advise or help.

--

Rui Pereira

unread,
Nov 25, 2014, 7:05:15 PM11/25/14
to ne...@googlegroups.com, michael...@neotechnology.com
any updates on this binary protocol for Java?
Reply all
Reply to author
Forward
0 new messages