incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben LZ Tan <sog...@gmail.com>
Subject Re: How to connect CouchDB from Tomcat with jquery not any javaProgram
Date Thu, 04 Oct 2012 09:00:28 GMT
Well one way is to expose your CouchDB to the internet (through a reverse proxy or something).
This way you can easily access your server through the browser, and since you can do that,
connecting to it via java or jquery is as simple as just calling its REST api directly.

Thanks,
Ruben Tan


On Thursday, October 4, 2012 at 4:54 PM, lenin wrote:

> I'm writing a CouchDB sample. My intention is to write a web app using AJAX
> and deploy it in the tomcat environment. As I use the CouchDB I would like
> to know the way to interact with the CouchDB server.
> 
> 1) As my application is deployed in a web server(Tomcat) is it possible to
> connect with a CouchDB outside? Many examples uses apps which are deployed
> in CouchApp or Couch environment itself.
> 
> 
> 
> --
> View this message in context: http://couchdb-development.1959287.n2.nabble.com/How-to-connect-CouchDB-from-Tomcat-with-jquery-not-any-javaProgram-tp7580919p7581159.html
> Sent from the CouchDB Development mailing list archive at Nabble.com (http://Nabble.com).
> 
> 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message