Friday, March 18, 2005

Aspects, Annotations and Refactoring

Ramnivas Laddad has published a great article on IBM Developer Works. The article is here. I knew that you could use Annotations to mark jointpoints for Aspects. But in his article he shows how you can use Aspects to inject Annotations into your classes. In addition he takes it a step further by giving a great example of refactoring a Transaction Aspect to eliminate coupling and make the aspect more reusable. This article is a great read for anyone working with Aspects and Annotations.

No comments: