Yearly Archives: 2006

Nightmares on JSF Street in Trinidad

JavaServer Faces (JSF) is the upcoming standard for the presentation layer of enterprise architectures. It’s going to replace the good old Struts. Struts, being the first widely accepted MVC 2 framework, to separate presentation from business logic, JSF now adds a real component model, event handling, validation and more to it. JSF can be compared… Continue Reading

How to Decontaminate a Singleton

For about three years now there’s a debate about using the Singleton pattern. Some call it evil, anti-pattern, and the like. If you have a look at the Gang of Four (GoF) patterns you’ve to realize that they are still present in the community, even more than 10 years after first publishing of the book…. Continue Reading

The Observer Pattern in Mixed Dependency Injection Contexts (Spring, JSF)

One of the most well-known patterns is the Observer pattern, well described in the Gang of Four (GoF) book. It allows to separate the application logic from the view(s) (if you have the focus on MVC implementations) or simply implements a notification mechanism that allows to update objects if others change their state (publisher –… Continue Reading