While running Achilles tests for my Cassandra DAO, I ran into this error: Some background, my pom contains: The solution? Unfortunately downgrading Google Guava from 18 to 15. I tried multiple versions in between, and different Achilles versions, but ultimately this was the only solution if you want to use Achilles. This issue was a […]
Category: Software Development
Request and Response Filters in Dropwizard
When constructing a Dropwizard application, there may be some pre-processing or post-processing you’d like to do on Resource methods. It’s fairly easy to add request and response filters in Dropwizard through the implementation of ContainerRequestFilter, ContainerResponseFilter, and ResourceFilterFactory, and adding them to the environment.
Dropwizard and SSL
Dropwizard can quickly start up a web server with little configuration required. The default server implementation uses http, running on port 8080 by default. But what if you want users to log into your web application? Dropwizard provides moderately useful documentation on setting up authenticators, but you should also update your server to run over […]
2014 Logo Trends on LogoLounge.com
Some really cool logo ideas
Migrating from Spring MVC to Dropwizard
I’ve been going through the process of moving my Spring MVC web application to DropWizard. One benefit of this technology I hope to utilize is the ability to release an application and not affect cohabitating applications within a web container.
BasicAuthentication with AngularJS and DropWizard
DropWizard is an amazing tool for quickly creating deployable web applications. AngularJS is “HTML enhanced for web apps!” Endeavoring to put them together is pretty easy, but I recently ran into one more complex piece of functionality — user authentication. DropWizard ships with authentication options, the first of which I’ll describe implementing, Basic Authentication. Put […]
Bypassing Spring Security
Today I set out to provide accessible endpoints to a web application already behind Spring Security. My configuration locks down all requests going to the server (as will be shown below), and there is no easy way of adding an excludes parameter to the DelegatingFilterProxy (see various questions on Stack Overflow). My solution is actually […]
Errors and Solutions for Cassandra with Astyanax
I’m building a DAO using Astyanax, Netflix’s Java client for Cassandra, and I’ve run into a couple issues.
Installing Cassandra on Mac
Diving into Cassandra and, as always, the first step is getting a local stack built. I’ve grown incredibly fond of homebrew, and so here is the one step process:brew install cassandra Viola, installed. The response when finished gives additional guidance: If you plan to use the CQL shell (cqlsh), you will need the Python CQL […]
Feed the Monster
Hydra excels at taking massive amounts of data and making it interpretable. It’s flexibility and scalability are really put on display when you have a lot of data, like Map-Reduce in Hadoop. Now that I have a local stack running, I need to feed Hydra in order to play with it, much like the Tamagotchi’s […]