Regarding couchbase lite and sync gateway

Hi ,
I am beginner on couchbase lite.

I have a doubt , now i am able to connect sync gateway to couchbase server…I have a consideration like couchbase lite is used as a local database or standalone database for windows application…
how the couchbase lite (local database from application) is connected with sync gateway???
is it done by API provided by Couchbase lite??

Does any one having simple java code which will help to getting the things like how to connect with db and how to handle database by using java code?

Hi @shriram.punde,
Couchbase lite java SDK provides an interface to interact with sync gateway, via the Replication class. The documentation is a good start http://developer.couchbase.com/documentation/mobile/current/get-started/couchbase-lite-overview/index.html

Regards,
Vladimir

You already asked this same question in another thread. Please don’t do that.