Sunday, November 25, 2001 10:49 AM
Aspect is something that crosscuts the program. A Customer or Connection are not aspects, because they don't crosscut. But things like persistence or logging are, because they affect many classes that needn't to be related to each other.
In AOP the idea is to catch pointcuts and execute some code before or after them. Pointcuts are clearly defined points in the execution of the program, such as method calls. So you could for example log every method call in the program. You can also add variables to classes etc...