Core Java
-
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 » -
java.util.concurrent.Future basics
Hereby I am starting a series of articles about future concept in programming languages (also known as promises or delays)…
Read More » -
How expensive is a method call in Java
We have all been there. Looking at the poorly designed code while listening to the author’s explanations about how one…
Read More »