Aspect Oriented Programming with Spring AOP and AspectJ
By: Adrian Colyer & Rob Harrop (Interface 21)
This tutorial provides an introduction to aspect-oriented programming using the Spring framework and AspectJ. Attendees will understand the principles behind AOP, and where it fits in enterprise application development. We demonstrate how to write aspects using the Spring framework, exploiting the AspectJ pointcut language. The @AspectJ (annotation based) style of aspect declaration supported by AspectJ 5 will be explained, including support for using such aspects with the Spring AOP framework. Finally we look at the AspectJ language itself, how it goes beyond the capabilities of Spring AOP, and how to get started with some quick wins on your own projects.
Duration: Half day
Level and Required experience
Sound knowledge of Java programming is assumed
Familiarity with basic Spring configuration a plus, but not essential
No prior experience of AOP required
Adrian Colyer is the leader of the AspectJ project on Eclipse.org and Chief Scientist at Interface21. He also contributes to the development of the Spring AOP support and the Spring-AspectJ integration.
Rob Harrop is the lead developer of the Spring AOP support and a Principal Consultant at Interface21. He is the author of five books, including "Pro Spring", a widely acclaimed and comprehensive resource on the Spring Framework.