Is it possible to use Neo4j database in an Android application?

安稳与你 提交于 2019-12-23 10:26:56

问题


Will it make any error if I use Neo4j database for my Android Application? If so, can anyone suggest me any other Graph database to use as back end for Android application..


回答1:


Yes. While Neo4J offers a REST API to query the database with the Cypher language, I would recommend to build your own layer on top of that to deal with the requests from Android and then filter and forward to Neo4J.

This layer will let you to use your own business logic between the Android app and the server, logic that will be "translated" in the Cypher syntax later.

If you want to expose instead your DB to the world directly, you can start a Neo4J server on a server (perhaps in read-only mode?) and maybe enable the HTTPS mode and some more security stuff. There are already some Neo4JaaS providers out there, so probably you can have a look to that.



来源:https://stackoverflow.com/questions/24167961/is-it-possible-to-use-neo4j-database-in-an-android-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!