Core Java
-

When a String is Null but Not Null
Introduction A junior programmer on my team at work had an interesting bug. Its symptoms I have seen more than…
Read More » -

How to Use Callable and FutureTask
Introduction Since Java 1.5 there has been a new set of objects under java.util.concurrent. This package has a number of…
Read More » -

Explore Git Internals with the JGit API
Have you ever wondered how a commit and its content is stored in Git? Well, I have, and I had…
Read More » -

Let’s Stream a Map in Java 8 with jOOλ
I wanted to find an easy way to stream a Map in Java 8. Guess what? There isn’t! What I…
Read More » -

Why to use String
Recently I was tutoring juniors during a training session. One of the task was to write a class that can…
Read More » -

Java Extension Mechanism Loads All JARs
The Java Extension Mechanism is described in the Java Tutorial as a “standard, scalable way to make custom APIs available…
Read More » -

Supercharged jstack: How to Debug Your Servers at 100mph
A guide for using jstack to debug live Java production servers jstack is like U2 – it’s been with us since the…
Read More » -

Revealing the length of Garbage Collection pauses
There are several ways to improve your product. One such way is to carefully track what your users are experiencing…
Read More » -

Understanding strategy pattern by designing game of chess
Today we will try to understand Strategy Pattern with the help of an example. The example we will consider is…
Read More »


