-
Core Java👁 Image
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👁 Image
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👁 Image
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👁 Image
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👁 Image
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👁 Image
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👁 Image
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 » -
Core Java👁 Image
Factory Without IF-ELSE
Object Oriented Language has very powerful feature of Polymorphism, it is used to remove if/else or switch case in code.…
Read More » -
Enterprise Java👁 Image
Clustered Idempotent Consumer Pattern with Infinispan
I’ve created a small project that shows how to use JBoss Infinispan with Apache Camel and the Idempotent Consumer Pattern…
Read More »
