Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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..

like image 219
Jeyatharsini Avatar asked Jun 11 '14 16:06

Jeyatharsini


1 Answers

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.

like image 77
MarcoL Avatar answered Sep 28 '22 01:09

MarcoL