Couchbase Java Client Library
This is the official client library for use with Couchbase Server.
The library may be installed either through maven or through standalone jar files. See the main website for details.
A simple creation of a client may be done like so:
List<URI> baseList = Arrays.asList( URI.create("http://192.168.0.1:8091/pools"), URI.create("http://192.168.0.2:8091/pools")); CouchbaseClient client = new CouchbaseClient(baseList, "default", "")
See the documentation on the site for more usage details, including a getting started guide and a tutorial.
Note that the 1.0 version does not support Couchbase Views. Suppport for views is in version 1.1 and later. See the preview page on the website for more information on obtaining the 1.1 client. It may also be found in the master branch (as of this writing) on github.