Design Patterns
-
Core Java
Decorator Design Pattern Applied
Hi there! Today i’m gonna show the decorator design pattern in action. The decorator design pattern is a largelly used…
Read More » -
Core Java
Template Method Pattern Example Using Java Generics
If you find that a lot of your routines are exactly the same except for certain sections, you might want…
Read More » -
Software Development
Open Session In View Design Tradeoffs
The Open Session in View (OSIV) pattern gives rise to different opinions in the Java development community. Let’s go over…
Read More » -
Core Java
Double Checked Locking on Singleton Class in Java
Singleton class is quite common among Java developers, but it poses many challenges to junior developers. One of the key…
Read More » -
Core Java
Java Singleton Design Pattern
Its one of the simplest design pattern in Java. If any one asks me which design pattern you are good…
Read More » -
Core Java
Difference between State and Strategy Design Pattern in Java
In order to make proper use of State and Strategy design Pattern in Core Java application, its important for a…
Read More » -
Enterprise Java
Circuit Breaker Pattern in Apache Camel
Camel is very often used in distributed environments for accessing remote resources. Remote services may fail for various reasons and…
Read More » -
Enterprise Java
The Builder pattern and the Spring framework
Introduction I like to make use of the builder pattern whenever an object has both mandatory and optional properties. But…
Read More » -
Core Java
Design Pattern: Immutable Embedded Builder
Last week I wrote about what makes a pattern anti-pattern. This week I present a design pattern… or wait… perhaps…
Read More »