January 16, 2021
Hot Topics:

Working with Design Patterns: Observer

  • By Jeff Langr
  • Send Email »
  • More Articles »

Introducing my own custom callback interface can significantly improve readability when I have more complex callback needs.

Click here for a larger image.

observer.jpg Implementation of the observer pattern.


[Gamma] Gamma, E., et. al. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley Professional, 1995.

About the Author

Jeff Langr is a veteran software developer celebrating his 25th year of professional software development. He's authored two books and dozens of published articles on software development, including Agile Java: Crafting Code With Test-Driven Development (Prentice Hall) in 2005. You can find out more about Jeff at his site, http://langrsoft.com, or you can contact him via email at jeff at langrsoft.com.

Page 3 of 3

This article was originally published on August 17, 2007

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date