While hacking away to MJ Cole a thought struck me.
Its still early days in the lifetime of many of the various AOP projects. Sure AspectJ has been around for a long time, though projects like Nanning and AspectWerkz, HyperJ, Rickard's framework, whatever's going on in JBoss 4 and all the others I"ve missed are still fairly recent.
So isn't it about time an open JSR was formed with an expert group of all the main AOP proponents to try define some common APIs to what things like Interceptors should look like and such like?
Sure there's gonna be lots of ways of doing things; like do we use XML to describe where interceptors should be applied, or whether Java code does that and such like. But could we have a standard API to what an interceptor looks like?
For AOP to really catch on in a big way, it'd be great if there was a standard API for us to use to write interceptors that can just drop into anyones framework.
If anything the JSR could be a great place for all the various AOP implementors to try come to some common ground. Preferably the JSR would use an open mail list and public CVS repository too :)
5:01:35 PM
|