Java
-

Java VM – Beware of the YoungGen space
As you may have seen from our previous performance oriented articles, a healthy JVM is one of the most important…
Read More » -

What Garbage Collector are you using?
Our research labs are humming at full speed. With the recent injection of capital, we can only warrant that the…
Read More » -

Embedding Maven
It is a very rare usecase, but sometimes you need it. How to embed Maven in your application, so that…
Read More » -

HOW-TO: Using @PropertySource annotation in Spring 4 with Java 7
Today I migrated one of my projects, that I am currently working on, to Spring 4.0. Since it is a…
Read More » -

@ControllerAdvice improvements in Spring 4
Among many new features in Spring 4 I found @ControllerAdvice improvements. @ControllerAdvice is a specialization of a @Component that is…
Read More » -

Using serialization to find dirty fields in an object
Say you are developing a framework to auto-save objects into a database. You need to detect changes made between two…
Read More » -

Why we shouldn’t use more threads than we need to
Overview There is a common argument that because we have lots of cores, and will have even more in the…
Read More » -

Lambdas for Fluent and Stable APIs
A few weeks ago I wrote an introduction on Java 8 lambdas. In this introduction I explained what a lambda…
Read More » -

Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More »


