Pallavi Nikumbh
Pallavi Nikumbh

Reputation: 308

Java: Any need to use sync gateway in web application for communicating with couchbase server?

I am new in couchDB database. I am trying to connect couchbase server using JAVA client, but I am confused in Couchbase sync gateway.

My question is, Couchbase sync gateway is only for mobile application or can we use for web application? is this required for web application?

Upvotes: 2

Views: 330

Answers (2)

pushpendra chauhan
pushpendra chauhan

Reputation: 2375

First understand the concept of Couchbase mobile, It includes couchbase lite, couchbase sync gateway and further couchbase sync gateway uses couchbase server for storage, If you directly want to use couchbase server for your web app , you can use it through java sdk http://developer.couchbase.com/documentation/server/4.0/sdks/java-2.2/java-intro.html

Upvotes: 1

Laurent Doguin
Laurent Doguin

Reputation: 528

The Sync Gateway can also be used for web application using it's REST API. But it is not required for a web app. You can use classic server SDKs too.

Upvotes: 1

Related Questions