Design Patterns
-
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 » -
Core Java
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
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 » -
Core Java
Pizza problem – builder vs decorator
Problem Statement We need to build the software for a pizza company who wants to prepare different types of pizzas,…
Read More » -
Core Java
Command Design Pattern Applied
Hi there! Today i’m gonna share with you a really great programming design pattern. It has a lot of usages…
Read More » -
Android Core
Applying decorator pattern to decorate views on Android
Hi there! Today i’m gonna show how to apply the design pattern decorator to android’s views making use of its…
Read More » -
Core Java
Builder Design Pattern Applied
Hi there! Today i’m gonna share the first of a brand new design pattern series i made. The builder design…
Read More »