NoSQL Zone is brought to you in partnership with:

John Esposito edits Refcardz at DZone, while writing a dissertation on ancient Greek philosophy and raising two cats. In a previous life he was a database developer and network administrator. John is a DZone Zone Leader and has posted 320 posts at DZone. You can read more from them at their website. View Full User Profile

Spring Data Neo4j from Scala

07.22.2012
| 3649 views |
  • submit to reddit

This article was originally posted by Andreas Kollegger on the Neo4j blog.

Developers today live in a mix-and-match world, as the Neo4j Heroku Challenge demonstrated with some clever engineering that matched the creative applications. Whether enjoying a clean REST interface from your language of choice, or running on the JVM to tap into the vast libraries available, you can code the way you want without worrying much about being left on an island.

Over at Cake SolutionsJan Machacek decided to reach out to Neo4j through the graceful abstraction provided through Spring Data Neo4j. But, he is coding it up in Scala. While Java is generally accessible from Scala, Jan points out "some of the sticky points" that you need to consider.

The result of a bit of sensible coding is that Spring Data Neo4j provides the baseline object behaviors, with some implicits bringing out the shine of those objects, for clean integration into Scala.



Read all the details in Jan's original post. Be sure to check out his other Scala posts, including an appropriate look at using Scala's Cake Pattern within a Spring application.
Reference: http://blog.neo4j.org/2012/03/spring-data-neo4j-from-scala.html