Comments (3)
I totally agree. Right now I'm running embedded because jersey 1.x dependencies are killing my project.
I forked the repo and tried to superficially upgrade the jersey version in the 2.0 branch (https://github.com/inner-loop/java-rest-binding/commit/3b6b4e06bc7205c651e15386d040cb8f0772ec56). My idea for testing was that since this is just an upgrade all existing tests should pass (regression) but for some reason the actual neo4j-server has a dependency on jersey 1.x as well so now every test fails with a NoClassDefException when trying to start a server (culprits are here: neo4j-server-2.0.1:org.neo4j.server.database.[InjectableProvider, DatabaseProvider, CypherExecuterProvider, GraphDatabaseServiceProvider]. More importantly the production server java for neo4j has a direct dependency on a REST api! Not sure why that has happened but there you go. If the requirement is still there to use the jersey dependency injection it might be worth moving that code to this project and link it up with the hk DI.
If @jexp can advise on what to do next that would be awesome.
Speaking of which what is the state of this branch? is it still being actively developed?
from java-rest-binding.
The problem is, that for testing we have to stick with the jersey library of the server. Which is now at 1.9 Otherwise it blows up with incompatible versions.
I recommend anyway to rather use the Neo4j jdbc-driver these days. Java REST binding builds upon a broken abstraction: https://github.com/neo4j-contrib/neo4j-jdbc
from java-rest-binding.
I 'm (and I assume many others) using the Spring Data for Neo4J libraries (https://github.com/spring-projects/spring-data-neo4j). What is the approach around getting these to work?
Also will projects like Graphene support this new jdbc driver type approach?
from java-rest-binding.
Related Issues (20)
- Provide a release which is compatible with Neo4j 2.0.0-RC1 HOT 2
- Provides a version for 2.0.0 server HOT 3
- Unable to add label using Neo4j Rest API - Error reading as JSON ''
- Handling of cypher results with nested collections/maps with nodes and relationships
- RuntimeException thrown when executing cypher in a batch mode
- NullPointerException in ExecutionEngine on startup HOT 4
- Property URLs not sanity checked HOT 1
- lack of Documentation
- 2.0.1 conflict with neo4j-kernel's package version of org.neo4j.helpers.collection.WrappingResourceIterator
- Create node with labels
- 2.0.2 release HOT 5
- Unit testing class not packaged? HOT 3
- Implement schema support
- NullPointerException in ExecutionEngine HOT 1
- Getting a 502 Bad gateway while saving nodes - RANDOMLY HOT 2
- cypher query endpoint deprecated. HOT 1
- how to use java to exeute cypher through the network?(not embedded) HOT 1
- Maven version 2.0.1 HOT 1
- char[] stored as string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-rest-binding.