Java
-

(Ab)using Java 8 FunctionalInterfaces as Local Methods
If you’re programming in more advanced languages like Scala or Ceylon, or even JavaScript, “nested functions” or “local functions” are…
Read More » -

Your JAX-RS APIs were not born equal: using dynamic features
This time we are going to talk a little bit about JAX-RS 2.0 APIs and touch on one very interesting…
Read More » -

Parsing any language in Java in 5 minutes using ANTLR: for example Python
I like processing code for several purposes, like static analysis or automated refactoring. The interesting part to me is to…
Read More » -

JPQL Enhancements in JPA 2.1 and Java EE 7 (part 1 – JOIN ON)
Java EE 7 is around for a few years already, and provides several very useful and long-awaited features, like entity…
Read More » -

Default HotSpot Maximum Direct Memory Size
In my previous blog post Improved Documentation of HotSpot Options in Java 8, I wrote about the misunderstandings surrounding the…
Read More » -

Java EE 8 MVC: Working with form parameters
In the previous two posts we saw how to work with query and path parameters in the upcoming Java EE…
Read More » -

JUnit 5 – A First Look at the Next Generation of JUnit
In the beginning of February, the JUnit 5 (aka JUnit Lambda) team has published an alpha release. Since JUnit 4 is among…
Read More » -

Contract First SOAP Service with Spring and Maven
1. Introduction In this tutorial, we will learn to implement a contract-first SOAP service application using JAX-WS, Spring and Maven.…
Read More » -

Constructor or setter?
It goes without saying that every object needs to be created before it can be used. It does not matter…
Read More »




