Couchbase 101: Create views (MapReduce) from your Java application | Development on Various Platforms | Scoop.it
When you are developing a new applications with Couchbase 2.0, you sometimes need to create view dynamically from your code.

Via Sergeyan