April 2005
[ avasseur ] 16:08, Wednesday, 6 April 2005

David Teare has published a complete introductory tutorial on BEA dev2dev : Quick Start Guide to Enterprise AOP with Aspectwerkz 2.0

The tutorial will lead you thru a sample app using Hibernate, Spring and Tapestry. One first version is detailled to explain the purpose of the sample app (a blog webapp). This first version is not using AOP. Another version is then detailled where crosscutting concerns such as per request logging and profiling have been refactored using AspectWerkz 2.0.

It also gives an insight of the impacts and benefits of switching to the AspectJ 5 joint project.

This tutorial is mainly introductory and gradually brings AOP in the sample application, explaining each decision and trade-off. Mixin, execution pointcut, advice, and cflow pointcut are used.

Complete source code is available for download, including SQL scripts.

Read the tutorial
Look for other AspectWerkz tutorials
The HelloWorld tutorials