建议我开发Neo4j扩展,因为由于Spring Data Neo4j引入了对Neo4j REST接口的多次调用而导致性能不佳。首先,我能够从Neo4j文档中简单地运行Neo4j扩展:http : //docs.neo4j.org/chunked/stable/server-unmanaged-extensions.html现在,我必须将一些逻辑从Web服务转移到Neo4j扩展以使它们之间的通信尽可能小。但是,我的Web服务基于Spring Data Neo4j和Spring Data JPA,因此要重用我的实际代码,我想在扩展中也使用Spring Data。我找到了以下文档:http : //docs.spring.io/spring-data/data-neo4j/docs/current/reference/html/reference_neo4j-server.html但对我来说尚不清楚,也没有可行的例子。有这种集成的示例代码吗?
在取消管理扩展中使用SDN就是一个很好的例子,请参阅http://inserpio.wordpress.com/2014/04/30/extending-the-neo4j-server-with-spring-data-neo4j/。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句