Spring Data Neo4j from Scala
Join the DZone community and get the full member experience.
Join For FreeThis 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 Solutions, Jan 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.
Published at DZone with permission of John Esposito. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments