Dropwizard HTTPS JerseyClient with runtime JSSE CA Certificates

For Jersey Client (or any Java web client for that matter) to connect to a SSL endpoint, the target server certificate must be installed as jssecacerts files into your JRE truststore at $JAVA_HOME\jre\lib\security. This is painful if you don’t have access to infrastructure, or don’t want to patch/update your server/base Docker container everytime your SSL certificate changes. I will show you a more elegant solution for JerseyClient/Dropwizard JerseyClient, where the certificate is loaded from file during runtime and doesn’t need to live in the JRE. »

Dropwizard Jersey2 NewRelic Integration

In order to integrate Dropwizard 0.8.x with the in depth analytics provided by New Relic, I’ve made some enhancements to the code samples from Kyle Boon’s blog: Enabling Newrelic for Dropwizard. With Dropwizard’s upgrade to Jersey2, it’s a matter of migrating logic from ResourceMethodDispatchProvider to ApplicationEventListener and RequestDispatcher to RequestEventListener. Gist available here: »

Dropwizard Microservice Spike Pt 2 - Results

After spending several days experimenting with both Dropwizard and Rails, our Engineering team put the two frameworks to a democratic vote. Dropwizard emerged as the winner, mainly due the Java heavy skill set we currently possess. However Rails does also offer alot of advantages and interesting solutions to traditional problems. I personally really like Active Records and in an ideal Microservices world, both Dropwizard and Rails should be used side by side. »

Dropwizard Microservice Spike Pt 1 - Justifications

Recently at Apmasphere we have been attempting a series of architectural spikes. One of which was to move from a single monolithic cloud based application towards a more distributed Microservices architecture using RESTful APIs. The spike ran in parrallel: I’m in charge of the JVM stream while my collegaue heads the Ruby on Rails prototype. Container-less framework During the framework selection process I decided to rule out all war-based frameworks. »

Dropwizard MongoDB GoogleCloud

Apmasphere is an elite team of revolutionaries tackling the old-school property management industry, with fresh new ideas, mobile apps and cloud based infrastrcuture. I had the pleasure of working with them to build a quick prototype using Dropwizard and Mongodb hosted on Google Compute Engine. It was a very good learning experience since it was my first time playing around with Google Compute Engine, and managed to put in a related [Stack Exchange][stackex] answer based on my steps. »