A reusable observer pattern implementation using package templates
Eyvind W. Axelsen, Fredrik Sørensen, Stein Krogdahl · 2009
In this paper, we show how package templates, a new mechanism for code modularization, paired with a comparatively (and intentionally) small AOP mechanism may be utilized to create a reusable package for the Observer design pattern that can be plugged into an existing architecture with a minimum of "glue code".