April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Spring AOP
nAspects – unit of modularity for crosscutting concerns. A modularization of a concern that cuts across multiple objects. Invocations that should be handled similarly.                                 
nAn aspect is the combination of advice and pointcuts into functional units in much the same way that OOP uses classes to package fields and methods into cohesive units.
nFor example, you might have a logging aspect that contains advice and pointcuts for applying logging code to all setter and getter methods on objects.
nWeaving – Process of actually inserting aspects/advice (crosscutting concerns) into the application code (core concerns) at the appropriate point
nTypes of Weaving
§Compile time weaving
§Runtime weaving