Jun 12 2012
Reverse Proxy in Apache2 (Ubuntu 10.04) for CouchDB
Installing Modules
There are various sites with instructions that did not work.
However, following the instructions here> http://abhirama.wordpress.com/2008/11/03/apache-mod_proxy-in-ubuntu/ did the trick.
The reverse proxy module was installed:
sudo apt-get install libapache2-mod-proxy-htm
Libxml was installed:
apt-get install libxml2-dev
Jun 12 2012
Data insertion to CouchDB using Lightcouch lib in Java (Sample)
Introduction
Hello, a small sample on how to insert JSON data to couchDB.
First off there are MANY java libraries for accessing couchdb. For information on which one to choose for you the 2 links below may help:
1) http://stackoverflow.com/questions/1105807/which-java-library-libraries-for-couchdb
2) http://wiki.apache.org/couchdb/Getting_started_with_Java
In this post we made use of LightCouch as we wanted something relatively simple without object mappings and other such features.
Aside: an also interesting tutorial utilizing couchdb4j with description of sessions is: http://www.drdobbs.com/jvm/223100116
By Menelaos Bakopoulos • Couchdb, Java SE, Scripts 5 • Tags: Couchdb, Database, Insert, Java SE