Category Archives: Java

Wait, where’s my PDF?

I was recently working on a project where we needed to stream and render PDF documents from a Java servlet. Sounds easy and straight-forward, right? When initially developed, all browsers were rendering in the development environment (non-SSL). Here is the … Continue reading

Posted in Java | Tagged , , , , | Leave a comment

Quicksort in Java

I was talking with one of my co-workers the other day about things that we had learned in our classes at our respective universities. I started thinking back to the classes I took at my alma mater for Data Structures … Continue reading

Posted in Java | Tagged , , , , | Leave a comment

Passing JVM arguments to Maven Surefire Plugin

I was working on a Maven build a while back and was trying to figure out how to pass a JVM argument to the Maven Surefire plugin. We needed this capability in order to tell the underlying framework to not … Continue reading

Posted in Java, Maven | Tagged , , , | Leave a comment

Spring Security 2.x with multiple credentials

I am currently working on a project using Spring Security 2.x where the user authentication consists of more than just two parameters. Usually authentication consists one principal (username) and one credential (password). We are sticking with Spring Security version 2.x … Continue reading

Posted in Java, Spring | Tagged , , | 2 Comments