Core Java
-
Creating Internal DSLs in Java, Java 8- Adopting Martin Fowler’s approach
Currently I am reading this wonderful book on DSLs- Domain Specific Languages by Martin Fowler. The buzz around the DSLs,…
Read More » -
Design Patterns: Prototype
The one of creational design patterns is a Prototype design pattern. Despite that the Prototype is the creational pattern it…
Read More » -
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 »