background preloader

J2EE

Facebook Twitter

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.

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

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 – subscriber implementations). Basically, the Observer pattern describes object dependencies. TheServerSide.com: your Java Community discussing server side development.

Java News covering Enterprise J2EE Application Programming and Architecture. - J2EE News. Online articles.