Glad to help!

The main overhead associated with the REST interface is the request
processing. The new batch request functionality available as of the
latest milestone can reduce significantly that cost, so if performance
against a remote instance is your main goal and you are not hesitant
about using milestones, i urge you to try it out wherever you can - it
will give you a significant boost and we always welcome feedback.

cheers,
CG

On Fri, Jun 17, 2011 at 7:36 PM, Antriani Stylianou
<[email protected]> wrote:
> Hi,
> That answered my question!
> I was just aiming for performance and thought that java api would be
> better than REST.
>
> a.
>
> On 6/17/11 6:34 PM, Chris Gioran wrote:
>> Hi Antriani,
>>
>> no, besides the two ways you mention, such functionality is not
>> currently available, with a question mark over the HA way, depending
>> on your use case.
>>
>> I assume what you need is to program against a remotely running
>> instance of Neo4j through the same Java API, kind of like what is
>> feasible through JDBC drivers for relational stores.
>> The brand new Cypher query language is a step in this direction,
>> providing a way to serialize 'job descriptions" that can lead to a
>> binary protocol and finally a driver that will provide what you ask
>> for.
>>
>> However, the REST API is currently the proper way to talk to a Neo4j
>> server, recently improved by batch functionality.
>>
>> Does your use case have a particular reason for which the REST
>> interface is not sufficient?
>>
>> cheers,
>> CG
>>
>> On Fri, Jun 17, 2011 at 7:00 PM, Antriani Stylianou
>> <[email protected]>  wrote:
>>> Hi,
>>>
>>> A startup question here!
>>> Can I connect from java to a neo4j server running the database without
>>> using the REST API or the Remote Server.?
>>>
>>> Something like :
>>>
>>> GraphDatabaseService graphDb = new EmbeddedGraphDatabase("localhost:7474/");
>>>
>>>
>>> Thanks,
>>> A.
>>>
>>> _______________________________________________
>>> Neo4j mailing list
>>> [email protected]
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to