Core Java
-

Java Concurrency Tutorial – Locking: Explicit locks
1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such…
Read More » -

Value-Based Classes
In Java 8 some classes got a small note in Javadoc stating they are value-based classes. This includes a link…
Read More » -

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 »

