deployment - Spring Data : Embedded /Non embedded? -
i'm using spring info neo4j , mongodb, find awesome, found out embedded , not embedded db stuff.
here's situation :
using spring info annotations, repositories, templates , thinking need alter db address create work elsewhere.my questions :
1) don't understand mean embedded vs non embedded (on same machine vs on distant machine ?)
2) have alter work i've done create work 'non embedded' db ?
what wan't deploy spring boot app using neo4j heroku or cloudfoundry , utilize graphen (neo4j paas) db. when saw story spring info working embedded, lost hope , happiness had when building app.
3) if 2) yes, easy transition ? there lot of things alter ?edit : here's i'm talking :
http://inserpio.wordpress.com/2014/04/30/extending-the-neo4j-server-with-spring-data-neo4j/
he's adding custom boilerplate code create work non embeded db, ok ? why doesn't work other db (like jpa, specify address of db).
inserpio here. don't lose happiness, please: spring info neo4j team working hard implement new release improves remote performances.
when spring info neo4j started neither cypher nor neo4j-server existed, while embedded version available. server version delivered sdn team provided quick solution works if utilize repositories, becomes little bit chatty want utilize @entity too. problem matching @entity returned nodes.
since new version still not completed, moment, move persistence-logic more tight database server extension. explained on link mentioned. it's fast refactoring: move entities , repositories new simple java project, install resulting jar in 'plugins' folder, 1 line configuration in neo4j-server.properties , expose queries simple rest services.
hope help.
do not hesitate contact me farther question.
cheers, lorenzo
deployment neo4j spring-data spring-data-neo4j
No comments:
Post a Comment