Core Java
-

The Big Java News Keeps Coming: Java SE 6 and OpenJDK
I recently posted Recent Java 8 News, summarizing some of the recent developments in Java 8. In less than a…
Read More » -

Template method design pattern in Java
Template method pattern is a behavioral design pattern which provide base method for algorithm,called template method which defers some of…
Read More » -

Facebook Hacker Cup : Studious Student Problem Solution in Java
This program is a solution to Studious Student problem from Facebook Hacker Cup. The problem can be found here: link.…
Read More » -

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 »
