Java
-
Integration testing on REST urls with Spring Boot
We are building a Spring Boot application with a REST interface and at some point we wanted to test our…
Read More » -
Drools 6.2.0.Final Released
We are happy to announce the latest and greatest Drools 6.2.0.Final release. This release in particular had a greater focus…
Read More » -
A beginner’s guide to JPA and Hibernate Cascade Types
Introduction JPA translates entity state transitions to database DML statements. Because it’s common to operate on entity graphs, JPA allows…
Read More » -
Prevent ‘No plugin found’ in multi-module maven
Defining a maven plugin on a submodule in a multi-module maven project can give us a ‘No plugin found’ error.…
Read More » -
Walking Recursive Data Structures Using Java 8 Streams
The Streams API is a real gem in Java 8, and I keep finding more or less unexpected uses for…
Read More » -
The Java Legacy is Constantly Growing
I’ve recently stumbled upon a very interesting caveat of the JDK APIs, the Class.getConstructors() method. Its method signature is this:…
Read More » -
Mapreduce in Java8
Wordcount is to Mapreduce what “Hello world” is for rest of the programming world. Recently I have been exploring some…
Read More » -
Avoid Recursion in ConcurrentHashMap.computeIfAbsent()
Sometimes we give terrible advice. Like in that article about how to use Java 8 for a cached, functional approach…
Read More » -
How to Map Distinct Value Types Using Java Generics
Occasionally the average developer runs into a situation where he has to map values of arbitrary types within a particular…
Read More »