title: How to use Couchbase Java Client in a Dropwizard Project?
body: <p>I've been looking at the <a href="https://github.com/couchbase/couchbase-java-client" rel="noreferrer">couchbase-java-client</a> project and wondering whether it's possible to use it inside of a <a href="http://dropwizard.io/" rel="noreferrer">dropwizard</a> project.</p>
  
  <p>It seems like it'd be a natural fit, because couchbase is basically a JSON database, but the java client doesn't seem to be compatible with Jackson. As far as I can tell, the couchbase client library includes <a href="https://github.com/couchbase/couchbase-java-client/tree/master/src/main/java/com/couchbase/client/java/document/json" rel="noreferrer">its own internal implementation of a JSON library</a> that's incompatible with all the other java JSON libs out there, which is really weird.</p>
  
  <p>I found a <a href="https://github.com/couchbase/couchbase-java-client/blob/master/src/main/java/com/couchbase/client/java/transcoder/JacksonTransformers.java" rel="noreferrer">JacksonTransformers</a> class that looked promising at first. But upon closer inspection, the library is using a shaded version of Jackson (with a rewritten package of <code>com.couchbase.client.deps.com.fasterxml.jackson.core</code>).</p>
  
  <p>Anyhow, since dropwizard uses Jackson and Jersey for marshalling JSON documents through the REST API, what's the least-friction way of using the couchbase-java-client library? Is it even possible in this case?</p>