Design Patterns
-
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 » -
Core Java
Design Patterns: Pattern or Anti-Pattern, that is the question
I have recently encountered the wiki page Anti-pattern that has an exhaustive list of anti patterns. Some of them were…
Read More » -
Core Java
Three Reasons Why I Like the Builder Pattern
There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The…
Read More »