Skip to content Skip to sidebar Skip to footer

Is Couchdb On Android Needed For Users Of App?

Im Trying to use CouchDb as a NoSQL database and my main purpose is to create an application on android which use couchDB instead of sqlite! And I want to use this database locally

Solution 1:

I don't think you need to purchse it to use it, as it is an open source library covered by the Apache license.

Speaking of NoSQL I've successfully used both NeoDatis and db4o in the Android environment. Both of these libraries are object databases and are surprisingly fast and easy to use. In fact, the claim is that they are faster than ORM/Relation Databases. I think they are a great fit for a low-user (1 user) low bandwidth environment.

Here's an example of db4o in Android:

http://java.dzone.com/articles/using-db4o-android-application

By the way, db4o is open source, but GPL, which makes it a difficult license to integrate into non-GPL products. They also have a pay-license version.

Solution 2:

You probably want to look at https://github.com/couchbaselabs/TouchDB-Android

This is an embeddable Java library that wraps SQLite, so it is fast, native, and lightweight.

It syncs with Apache CouchDB so it has the offline mode you want. It also has a REST/JSON api very similar to CouchDB.

Enjoy!

Post a Comment for "Is Couchdb On Android Needed For Users Of App?"