Before you start
This tutorial introduces AOP and its basic concepts. AOP and its associated tools let you separate the code for essential crosscutting concerns, such as logging and security, from a program's core application logic. AOP improves code quality by making it more readable, less error-prone, and easier to design and maintain.
This tutorial introduces you to:
- The reasons for AOP
- The basic concepts of AOP
- AOP tools and frameworks
Then, you'll apply AOP techniques to a real-world code example.
The author would like to thank Mik Kersten for his expert comments and valuable review of the early drafts of this tutorial.
This tutorial is for Java developers who want to explore AOP. You need to be comfortable with object-oriented design and Java programming. Experience working with security and logging systems is helpful but not necessary.
To run this tutorial's sample code, you need the following:
- A working installation of JDK 1.4.2
- If you use the Eclipse IDE, the latest stable version of the AspectJ Development Tools (AJDT) plug-in, is available at http://www.eclipse.org/ajdt/downloads/
- If you do not use the Eclipse IDE, the stable release of AspectJ 1.2 (version 1.2.1 as of this tutorial's publication date), is available at http://www.eclipse.org/aspectj/downloads.php#stable_release


