On 4/2/14, 07:07 , Michael Hunger wrote:
> JDBC is cypher over the wire and towards embedded databases.
>
> Java-Rest-Binding mimics the embedded core-api over the wire with many
> fine grained calls to REST-Endpoints but also supports some old-style
> cypher + remote traversals.
>
> I prefer to use JDBC w/ Cypher these days for remote interaction.
Hi!
I wrote the JDBC driver initially as a proof of concept, and Michael has
touched it up to support streaming and whatnot. But both of us did so in
our spare time, and it's not an officially supported driver (yet).
I recently used the driver myself for an internal Neo Tech app, and I
found it very useful to be able to use the same driver in code during
testing (using CommunityServerBuilder to run a Neo instance), running
the app locally (with an in-mem database), and in production (with a
separate Neo4j Server instance). The JDBC API shielded me from these
differences, and the main difference is latency of calls.
There are a few gotchas I found (such as "RETURN node" returning a Node
object with embedded and a Map<String, Object> when used with REST API),
and there are still more cleanups me and MH want to do. But again, this
is so far all in our spare time.
regards, Rickard
--
Rickard Öberg
Developer
Neo Technology
Twitter: @rickardoberg, Skype: rickardoberg