A JPA Facade for Neo4J
NoSQL is obviously a hot topic in the enterprise these days, at least at the water cooler if not in the production data center just yet. Naturally, the question of how to use NoSQL databases in Java EE applications (specifically existing Java EE 5 and Java EE 6 applications) comes up all too often. As it so turns out there are a number of very interesting initiatives out there to radically simplify the usage of NoSQL databases in Java EE applications by creating JPA based facades over them. Such efforts include EclipseLink NoSQL, Hibernate OGM, EasyCassandra and the like.
Amresh Singh, a core contributor of one such project, Kundera, recently wrote a pretty insightful blog post on creating a JPA facade over the popular graph database Neo4J (Kundera already supports Cassandra, HBase, MongoDB, Redis, etc). It's an interesting read - Amresh talks about the challenges and design decisions behind such an inherently intricate effort.
Incidentally, I recently presented at DevNexus on the topic of using NoSQL in Java EE via JPA and CDI. Stay tuned for that trip report, slide deck and code examples...
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)





Comments
Neil Stockton replied on Wed, 2013/03/06 - 2:12pm
Seemingly missing something that was done 9 months ago
http://datanucleus.blogspot.co.uk/2012/07/persistence-to-neo4j-graph-datastores.html
which appears to support more "NoSQL" datastores than any of those mentioned
Reza Rahman replied on Wed, 2013/03/06 - 2:43pm
in response to:
Neil Stockton
Just for clarity here, my DevNexus talk/slide deck covers DataNucleus...
Reza Rahman | Java EE/GlassFish Evangelist
All views voiced are my own, not necessarily Oracle's.