Core Java
-
The Knapsack problem
I found the Knapsack problem tricky and interesting at the same time. I am sure if you are visiting this…
Read More » -
An Introduction to Generics in Java – Part 6
This is a continuation of an introductory discussion on Generics, previous parts of which can be found here. In the…
Read More » -
Daemonizing JVM-based applications
Deployment architecture design is a vital part of any custom-built server-side application development project. Due to it’s significance, deployment architecture…
Read More » -
Introduction to writing custom collectors in Java 8
Java 8 introduced the concept of collectors. Most of the time we barely use factory methods from Collectors class, e.g. collect(toList()), toSet() or maybe something…
Read More » -
Creating Your Own Java Annotations
If you’ve been programming in Java and using any one of the popular frameworks like Spring and Hibernate, you should be very…
Read More » -
Converting JSON to XML to Java Objects using XStream
XStream library can be an effective tool for converting JSON to Java to XML translations to and fro. Lets explore…
Read More » -
Java’s Volatile Modifier
A while ago I wrote a Java servlet Filter that loads configuration in its init function (based on a parameter from…
Read More » -
Java Debuggers and Timeouts
How to use your debugger in the presence of timeouts in your code. My kingdom for a debugger! So you’ve…
Read More » -
How to use bloom filter to build a large in memory cache in Java
BackGround Cache is an important concept to solve day to day software problems. Your application may perform CPU intensive operations,…
Read More »