java

Serving images from a servlet

less than 1 minute read

In a web application I needed to serve images from a directory outside of the web application. I wanted to keep the application as unaware of the environment...

Adding the MySQL driver to JBoss AS 7

1 minute read

One problem we face when developing applications, especially web applications, is the separation of application and configuration. Application servers help u...

JSONP with Jersey 2.0

1 minute read

As you build an API that is to be used by many parties you cannot escape the need for JSONP. JSONP is necessary when you need to provide cross domain support...