Giter Club home page Giter Club logo

neo4j-java-rest-binding's Introduction

This repository has been deprecated, it has moved to the Neo4j organization. Neo4j Github Repositories

The Java binding for the Neo4j Server REST API wraps the REST calls behind the well known GraphDatabaseService API.

Currently supports:


  • all the node and relationship operations
  • the new Index API
  • Basic Http Auth (Digest)
  • preliminary traversal support

Open issues:


  • full traversal support
  • support for exposing server extensions - via an interface based proxy

Usage:

Build it locally. Then use the maven / ivy dependency or copy the jar into your app.

<dependency>
	<groupId>org.neo4j</groupId>
	<artifactId>neo4j-rest-graphdb</artifactId>
	<version>0.1-SNAPSHOT</version>
</dependency>

GraphDatabaseService gds = new RestGraphDatabase(new URI("http://localhost:7474/db/data"));
GraphDatabaseService gds = new RestGraphDatabase(new URI("http://localhost:7474/db/data"),username,password);

<bean id="graphDbService" class="org.neo4j.rest.graphdb.RestGraphDatabase" destroy-method="shutdown">
    <constructor-arg index="0" value="http://localhost:7474/db/data" />
</bean>
</pre>

Please note: Transactions are not supported over this API.

Unit Test:

to start tests you will need the https://github.com/jexp/neo4j-clean-remote-db-addon to cleanup the database while

References / Community:

neo4j-java-rest-binding's People

Contributors

jexp avatar tbaum avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.