Core Java
-
Hunting down memory leaks: a case study
A week ago I was asked to fix a problematic webapp suffering from memory leaks. How hard can it be,…
Read More » -
Recent Java 8 News
Java 8 developments are starting to dominate the news again. Recent posts cover extending Milestone 7 of JDK 8 to…
Read More » -
My Custom Thread Pool Executor in Java
ThreadPoolExecutor is a feature added by java concurrent api to maintain and reuse threads efficiently , so that our programs…
Read More » -
Difference between Comparator and Comparable in Java
One of the common interview question is ‘What are differences between Comparator and Comparable’. or ‘How will you sort collection…
Read More » -
Observer design pattern in Java
As the name suggests it is used for observing some objects.Observer watch for any change in state or property of…
Read More » -
Java – Handmade Classloader Isolation
In a recent project we had a typical libraries conflict problem. One component that we could control wanted a specific…
Read More » -
Most popular Java environments
The post is going to be the first in the forthcoming series. We start with the environments used: if you…
Read More » -
Chronicle and the Micro-Cloud
Overview A common question I face is; how do you scale a Chronicle based system if it is single writer,…
Read More » -
ListenableFuture in Guava
ListenableFuture in Guava is an attempt to define consistent API for Future objects to register completion callbacks. With the ability…
Read More »