Fall 2002 Programming Language Seminar:
Aspect-Oriented Programming with AspectJ

Back to main course page

[ Washington University in St Louis ]
Department of Computer Science

Example: Observer

Aspect source: available in the AspectJ distribution, under examples/observer
Class source: available in the AspectJ distribution, under examples/observer
To compile: copy the examples/observer directory to your home directory, then:
ajc -argfile observer/files.lst
To execute: java observer.Demo
Output: GUI output
Discussion: 25 September Lecture Notes and also the AspectJ Programming Guide

Please contact me at mdeters@cse.wustl.edu if you have any questions regarding these examples.

Index of code examples
Help on setting up AspectJ
Back to AspectJ Seminar course calendar


Morgan Deters / About me / OpenPGP Public Key / 15 Aug 2005

This page is certified valid HTML 4.01!  This page refers to certified valid CSS!  I support the AnyBrowser campaign