Core Java
-

Default methods and multiple inheritance
Recently Lukas JOOQ Eder posted and article about nested classes and their use. This is an interesting topic and his…
Read More » -

How to detect and diagnose slow code in production
One of the more difficult tasks that a developer faces is finding and diagnosing slow running code in production. Firstly…
Read More » -

XSL Transformation in Java: An Easy Way
XSL transformation (XSLT) is a powerful mechanism for converting one XML document into another. However, in Java, XML manipulations are…
Read More » -

A JSF List Example
This is an example list application built using JSF 2.0 (JavaServer Faces). The app is a list of todo (to…
Read More » -

Top 10 Easy Performance Optimisations in Java
There has been a lot of hype about the buzzword “web scale“, and people are going through lengths of reorganising…
Read More » -

How JVMTI tagging can affect GC pauses
This post is analyzing why and how Plumbr Agents extended the length of GC pauses on certain occasions. Troubleshooting the underlying problem…
Read More » -

Do not unit test bugs
Before getting to the topic of the title let’s have a simple programming sample. On the programming task I will…
Read More » -

Inconsistent operation widen rules in Java
Overview When you perform a unary or binary operation in Java the standard behaviour is to use the widest operand…
Read More » -

JMH: How to setup and run a JMH benchmark
Health Warning! This post describes how to setup and run a simple JMH benchmark. Micro benchmarks are notoriously difficult to get…
Read More »

