Using different context handlers on different ports in Jetty 9
Today it's popular to embed containers such as Jetty into the application itself so that it's simple to start and distribute in, for example, a microservice architecture. But there are…
Today it's popular to embed containers such as Jetty into the application itself so that it's simple to start and distribute in, for example, a microservice architecture. But there are…
In this post I describe how we reduced memory usage with over 40% by changing the Redis data representation. Redis is very easy to get started with and quick as…
Apple decided to remove the Java Preferences application in a software update and afterwards in has been difficult to change the JDK version on Mac OS X. I especially noticed…
The REST Assured test library for Java was recently updated to version 2.2 and one of the new features is support for unit testing Spring MVC controllers using the new…
When exposing REST or HTTP based service APIs it's important to validate that the API behaves correctly and that the exposed data format is structured in an expected manner. Using…
REST Assured is a simple Java library for testing of REST services and a new major version has just been released. Not only is it easy to use and get…
If you've watched any presentation on Java 8 and lambdas by an Oracle employee in the last year or so you probably haven't missed the "list of shapes" example, it…
Spring 4 brings some nice improvements to how autowiring of generic types are handled. Before going into details, let's look into the current state of affairs. Basics Consider the following…
Spring 4 is around the corner. Milestone releases has been available for a while, the first release candidate was released earlier today, and the final release is expected before the…
In my current project we want AWS CloudFormation to determine the names of our DynamoDB tables by setting them as properties in a standard Java property file. Our service reads…
Last week, I had the privilege of speaking at SpringOne 2GX in Santa Clara. As the name implies, the conference was focused around Spring, Groovy and Grails. The conference tagline…
Problem In my current project we have a requirement that is frequently discussed in the Jasper community. How do I create a dynamic report in JasperReports? The complex detail is…
In my current project we're using the Amazon DynamoDB database in some of our bounded contexts. One use case that we have is to create an entity only if it…
As a frontend web developer, I often find myself in a larger project, where I'm responsible for the frontend web app, and others work on the backend. More often than…
When working with Java you will sooner or later come across Maven and Maven modules. Before you start developing a new module feature, upstream modules need to be built, and…