I have an Android client and web server implemented using following technologies
SQL and NoSQL databases
-Spring MVC architecture
currently the Androi client connects with the server using RESTful Web services (to post user data collected by the client). Client does not have an embedded database. What I need to do is to enable the client work offline with an embedded database. So the user data will be saved to the local db and data will be synced with the server when the client is online.
So I am clear that I need to implement CouchBase lite to the android client app and also need to implement SyncGateway to sync the data. Since the sync gateway needs a couchbase server to replicate, I am clear that I need to implement a couchBase server too. But my problem is how to connect my existing server with the couchbase server?