Design Patterns
-
Core Java
Solving a Producer-Consumer Problem in Java
The producer-consumer problem is one of the most frequently encountered problems when we attempt multi threaded programming. While not as…
Read More » -
Core Java
The Visitor Pattern Re-visited
The visitor pattern is one of the most overrated and yet underestimated patterns in object-oriented design. Overrated, because it is…
Read More » -
Core Java
Implementing the State Machine Pattern as a Stream Processor
In my last blog, I said that I really thought that some of the Gang Of Four (GOF) patterns were…
Read More » -
Enterprise Java
Java EE Revisits Design Patterns: Observer
Aside from being implemented in many languages and many applications, Observer Pattern has been a part of Java since version…
Read More » -
Enterprise Java
The Strategy Pattern
In a recent blog on I received a comment from Wojciech Soczy?ski about how the “strategy” pattern can be used…
Read More » -
Enterprise Java
Java EE Revisits Design Patterns: Asynchronous
Although you may not find Asynchronous method calls listed as a design pattern, I find it worth to mention. So…
Read More » -
Enterprise Java
Concurrency Pattern: Producer and Consumer
In my career spanning 15 years, the problem of Producer and Consumer is one that I have come across only…
Read More » -
Enterprise Java
GWT MVP made simple
GWT Model-View-Presenter is a design pattern for large scale application development. Being derived from MVC, it divides between view and…
Read More » -
Core Java
The Wizard Design Pattern
We all love wizards…. (Software wizards I mean). We are always happy to jump on those ”Next” buttons like we…
Read More »