Create a CDI extension that reduces the boilerplate code. The extension can be a CDI interceptor that will intercept HTTP GET, PUT, POST, DELETE methods and retrieve results from a Couchbase instance.
Need to think about how to specify configuration information such as database coordinates and bucket name.