Design Patterns
-
Core Java
Isolating the Domain Logic
In one design patterns class, I had an interesting discussion about modelling domain logic. Specifically, it was about isolating the…
Read More » -
Enterprise Java
Resource leakages: command pattern to the rescue
Over the years of performance monitoring with Plumbr I have faced hundreds of performance issues caused by resource leakages. In this…
Read More » -
Enterprise Java
Introducing The Delegate Pattern
Delegate: a person who is chosen or elected to vote or act for others – Merriam-Webster. Delegate pattern: In software engineering,…
Read More » -
Core Java
The Best of Both Worlds
Type-Safe Views using Abstract Document Pattern How do you organize your objects? In this article I will introduce a pattern…
Read More » -
Software Development
Abstract Factory or Factory Method?
Today I would like to tell you about Factory Method Pattern and Abstract Factory Pattern. The purpose of the article…
Read More » -
Core Java
Java Dynamic Proxy
Proxy is a design pattern. We create and use proxy objects when we want to add or modify some functionality…
Read More » -
Core Java
Java 8 Lambda Expression for Design Patterns – Strategy Design Pattern
The strategy pattern defines a family of algorithms encapsulated in a driver class usually known as Context and enables the…
Read More » -
Core Java
Decorator Design Pattern using lambdas
With the advent of lambdas in Java we now have a new tool to better design our code. Of course…
Read More » -
Core Java
Factory Pattern
The factory pattern is a creational design pattern whose intent is to provide an interface for creating families of related…
Read More »