Retrofit: My new HTTP client of choice

There’s no shortage of options for Java developers when dealing with HTTP connections client-side. Java itself brings facilities to work with HTTP, but they are very low level and inconvenient as is Apache’s HttpClient. I’ve been using some more high-level implementations in the past, Spring’s RestTemplate is often a good fit, the same goes for …

Jasmine BDD style testing for Java

During the last six months or so testing has become a special interest of mine. Most of my career I have worked in the Java ecosystem and the majority of tests I’ve seen and written have been using JUnit. Currently I’m looking into the Javascript world, where testing often is done in a different way. …

Software testing: The good, the bad and the ugly

Recently I have started working on a large scale legacy project and I’ve had some time to understand how things work there. It is a fairly old JEE5-based tech setup and there are plenty of areas that can cause headaches. But a particular pain point is the way testing is handled. Yes, there are tests. …

Lombok’s @Builder annotation and inheritance

I’ve written about Project Lombok’s @Builder annotation beforeĀ (see here and here). We’ve started using it in our project some time ago in favour of the code generation library PojoBuilder. One thing has bugged me though during that time: Lombok’s @Builder annotation won’t generate code for inherited fields. It turns out, there is a solution to …