Core Java
-
Some more unit test tips
In my previous post I showed some tips on unit testing JavaBeans. In this blog entry I will give two…
Read More » -
Custom JSR 303 Bean Validation constraints for the JSR 310 New Date/Time API
With JSR 310 Java 8 finally brought us a decent date and time API. For those of you that are…
Read More » -
Using Gradle to Build & Apply AST Transformations
Recently, I wanted to both build and apply local ast transformations in a Gradle project. While I could find several…
Read More » -
JUnit Rules
Introduction In this post I would like to show an example of how to use JUnit Rule to make testing…
Read More » -
Runtime Class Loading to Support a Changing API
I maintain an IntelliJ plugin that improves the experience of writing Spock specifications. A challenge of this project is supporting…
Read More » -
Friday-Benchmarking Functional Java
Lets image our product owner goes crazy one day and ask to you to do the following : From a…
Read More » -
When the Java 8 Streams API is not Enough
Java 8 was – as always – a release of compromises and backwards-compatibility. A release where the JSR-335 expert group…
Read More » -
A classloading mystery solved
Facing a good old problem I was struggling with some class loading issue on an application server. The libraries were…
Read More » -
Date/Time Formatting/Parsing, Java 8 Style
Since nearly the beginning of Java, Java developers have worked with dates and times via the java.util.Date class (since JDK…
Read More »