Design patterns are solutions to known problems. The pattern represents an abstracted solution to a commonly experienced problem. As the solution is abstracted it is language [...]
The Beginning Where did they come from? Did they just appear overnight? In fact, design patterns have a long history starting way before computing. But it wasn’t really [...]
OK let’s have a look at our first pattern. The singleton pattern is one of the most well-known design patterns and is used extensively by frameworks such as Spring, pool [...]
The singleton pattern is one of the most well-known design patterns and is used extensively by frameworks such as Spring. Java EE offers an elegant and easy way to implement [...]
Discover an alternative way to implement the classic GOF strategy pattern using the humble enum. With code examples, you will see two interesting ways to implement strategy [...]
If you implement the pattern well you will be dry and happy, if you implement it badly you will be wet and very unhappy. Find out how to correctly implement design patterns [...]