Core Java
-
Builder Pattern: Good for code, great for tests
I’ve found the builder design pattern occasionally useful in code, but frequently useful in tests. This article is a quick…
Read More » -
Java File Merging Goes Semantic
Talk to any programmer and ask him how a merge should be: “it should understand the code, parse it, and…
Read More » -
JVM Performance Magic Tricks
HotSpot, the JVM we all know and love, is the brain in which our Java and Scala juices flow. Over…
Read More » -
Design Patterns: Builder
Sometimes there is a need to create a complex object in application. The one solution for this is a Factory…
Read More » -
Factory Design Pattern – An Effective Approach
As you know the Factory Method Pattern or popularly known as the Factory Design Pattern is one the design patterns…
Read More » -
Monitoring and detecting memory leaks in your java application
So your application is running out of memory, you’re spending days and nights analyzing your application hoping to catch the memory holes in your objects.…
Read More » -
Factory Method pattern in Java
In my previous post about the Template Method pattern, I showed how one can leverage lambda expression and default methods.…
Read More » -
Persistent breakpoints every java developer should have
When a developer is working in Java there are a few failure cases you always want to know about even…
Read More » -
Experiment with ConcurrentHashmap
I am investigating a memory issue in one of my recent projects where data is kept in memory for fast…
Read More »