Design Patterns
-
Core Java

Design Patterns in the 21st Century: The Adapter Pattern
This is part three of my talk, Design Patterns in the 21st Century. The Adapter pattern bridges worlds. In one…
Read More » -
Core Java

Design Patterns in the 21st Century: The Abstract Factory Pattern
This is part two of my talk, Design Patterns in the 21st Century. This pattern is used everywhere in Java…
Read More » -
Core Java

Functional Factory Pattern
Do you want a REALLY quick way to make a Factory object? Then lambdas or other function-passing is what you…
Read More » -
Core Java

How The Decorator Pattern Saved My Day
At work I am dealing with a huge Java code base, which was developed over the course of more than…
Read More » -
Core Java

The Serialization Proxy Pattern
In my last post, I talked about serialization in general. This one is much more focused and presents a single…
Read More » -
Core Java

The Decorator Pattern With Java 8
In a recent post I described how the decorator pattern saved my day. I gave a small code snippet which…
Read More » -
Core Java

Transforming Collections with Decorators
The Decorator Pattern Ever since first learning the programming design patterns, the decorator pattern has been my favorite. It seemed…
Read More » -
Software Development

REST Messages And Data Transfer Objects
In Patterns of Enterprise Application Architecture, Martin Fowler defines a Data Transfer Object (DTO) as: An object that carries data…
Read More » -
Core Java

Understanding strategy pattern by designing game of chess
Today we will try to understand Strategy Pattern with the help of an example. The example we will consider is…
Read More »


