The AOP caching challenge

Cedric Beust
April 12, 2003
Last updated: Apr 16, 2003

This page is an attempt to gather all the various weblog entries that have followed my initial "challenge" (which wasn't realy one initially) about AOP and caching.  I am putting this page together so that future readers who would like to catch up on the interesting discussions that this post sparked can come up to speed quickly.

I am purposely not reproducing any of the links below in this page so that the authors receive their due web hits.

The challenge in short is to implement two aspects, Cache and CacheMonitor, that will work independently of each other, in the truest definition of "separation of concerns".  This thread introduces the concept of "caller pointcuts" and a few other interesting ideas.

The initial challenge (Cedric)

A few thoughts on caller pointcuts (Cedric)

Thread of discussion on theserverside.com

Magnus 1

Rickard 1

Jon Tirsen1

Cedric 3

Patrick 1

Jon Mountjoy 1

Comments on Jon and Rickard's solutions (Cedric)

Rickard's complete example

Jon Mountjoy 2

A solution to the challenge with Aspectwerkz (Jonas)

How Jonas' solution can be improved (Cedric)