By Michael Hunger, Developer Relations | May 5, 2015 Originally posted on Better Software Development At Spring.IO in Barcelona I met my pal Oleg from ZeroTurnaround and we looked at how the newXRebel 2 integrates with Neo4j, especially with the remote access using the transactional Cypher http-endpoint. As you probably know, Neo4j currently offers a remoting API based on HTTP requests (a new binary protocol is in development). Our JDBC driver utilizes that http-based protocol to connect to the database and execute parameterized statements while adhering to the JDBC APIs. XRebel is a lightweight Java Application Profiler which is loaded as java-agent and instruments your application. It traces runtime for web requests and records your backend-application CPU usage, database- (JDBC) and http-requests to other services. For web-applications it integrates automatically with the http-processing and injects profiling information into the response.
:play moviesstatement in the Neo4j browser. Then we can get and build the application and run it. To test that it works, open the app in your browser at http://localhost:8080
git clone http://github.com/neo4j-contrib/developer-resources cd developer-resources/language-guides/java/jdbc mvn compile exec:java -DmainClass="org.neo4j.example.movies.Movies"
Setup with XRebel
GraphConnect EuropeIf you’re in London this week and want to have a relaxing election day, make sure to grab a seat for GraphConnect on May 7, the Neo4j conference. Ping me via email (michael at neo4j.org) for a steep discount a an avid reader of this blog.
About the Author
Michael Hunger, Developer Relations
Michael Hunger has been passionate about software development for a very long time. For the last few years he has been working on the open source Neo4j graph database filling many roles.
As caretaker of the Neo4j community and ecosystem he especially loves to work with graph-related projects, users and contributors. As a developer, Michael enjoys many aspects of programming languages, learning new things every day, participating in exciting and ambitious open source projects and contributing and writing software related books and articles.
From the CEO
Have a Graph Question?
Reach out and connect with the Neo4j staff.Stackoverflow
Share your Graph Story?
Email us: email@example.com