View RSS Feed

Recent Blogs Posts

  1. The Observer Design Pattern

    by , 11-20-2011 at 06:00 PM (My Java Tips)
    The Observer design pattern is a Behavioral design pattern. It is used to observe the state of an object in the program. In Observer pattern object(s) are registered to observe an event that may be raised by the observed object. Simply put the Observer pattern allows one object called the observer to watch another object called the subject.

    The observer pattern can listen to an external event, for example a user action. The observer pattern is also used to create a loose coupling ...