Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用嵌入在 servlet 和 jsp 中的 NEO4J 来开发一个网站,用户将在其中输入节点之间的关系和关系属性,以便每个用户都可以看到所有数据,或者我必须使用 NEO4J rest api。
当然可以。在服务器启动时,您可能可以设置数据库。然后可能使用依赖注入(在 Spring 等中)或使用静态引用等,参考 db 并执行函数。终止时,db 可以关闭。
事实上,我更喜欢它而不是其他 api(它具有更好的性能和更好的抓地力)。