Java
-

Using Matchers in Tests
Gone are the days when we were forced to write way too many assertion lines in our testing code. There…
Read More » -

G1 vs CMS vs Parallel GC
This post is following up the experiment we ran exactly a year ago comparing the performance of different GC algorithms…
Read More » -

Investigating Memory Leaks Part 1 – Writing Leaky Code
I found this little problem the other day: there’s this server that runs for a while and then falls over.…
Read More » -

Integration tests with Maven 3, Failsafe and Cargo plugin
Unit testing is available in Maven out of the box. Because of that very often its used for integration tests…
Read More » -

JBoss Drools unit testing with junit-drools
Recently I’ve been working with a project heavily using JBoss Drools. I am not Drools expert – I am not…
Read More » -

Spring REST: Exception handling vol. 2
This is a second article from the series about REST Exception handling with Spring. In my previous post I have…
Read More » -

A Lesser-Known Java 8 Feature: Generalized Target-Type Inference
Going through the list of Java 8 features, Generalized Target-Type Inference struck me as a particularly interesting, lesser-known gem. It…
Read More » -

Spring Data MongoDB cascade save on DBRef objects
Spring Data MongoDB by default does not support cascade operations on referenced objects with @DBRef annotations as reference says: The…
Read More » -

Exploit better the results of Pmd, Findbugs and CheckStyle.
Many Java static analysis tools exist right there, each one focus on a specific area and has its advantages, we…
Read More »






