In this article, Jonas Bonér introduces the new AspectWerkz 2.x architecture. AspectWerkz 2.x has been designed to be an extensible AOP container where any kind of aspects can coexist ranging from Spring aspects to AspectJ aspects. The article explains why this architecture is beneficial to the Java AOP communtity and explains the benefits and drawbacks of running AOP Alliance, Spring and AspectJ aspects within the AspectWerkz Extensible Aspect Container. It concludes with performance figures.
AspectWerkz 2.0.RC1 is already available for download here.
Read AspectWerkz 2: An Extensible Aspect Container
-
AspectWerkz 2: An Extensible Aspect Container (3 messages)
- Posted by: Nuno Teixeira
- Posted on: November 17 2004 15:25 EST
Threaded Messages (3)
- AspectWerkz 2: An Extensible Aspect Container by Jacob Hookom on November 17 2004 17:51 EST
- AspectWerkz 2: An Extensible Aspect Container by Alex Vasseur on November 18 2004 04:00 EST
- AspectWerkz 2: An Extensible Aspect Container by Dmitriy Kopylenko on November 19 2004 09:26 EST
- AspectWerkz 2: An Extensible Aspect Container by Alex Vasseur on November 18 2004 04:00 EST
-
AspectWerkz 2: An Extensible Aspect Container[ Go to top ]
- Posted by: Jacob Hookom
- Posted on: November 17 2004 17:51 EST
- in response to Nuno Teixeira
It seems unadvised invocation was the fastest... so I'm going to use that one on my next project....
http://hookom.blogspot.com/2004/11/i-have-aop-framework-for-you.html -
AspectWerkz 2: An Extensible Aspect Container[ Go to top ]
- Posted by: Alex Vasseur
- Posted on: November 18 2004 04:00 EST
- in response to Jacob Hookom
Jacob
Unadvised invocation is the fastest but is provided as a reference. The advised version will have extra behavior provided by the advice.
In the case of the before and after advice, it will be as efficient as hand written code. In the case of an around advice, invocation chaining is a bit consuming but it appears to a be a fixed price that will scale in a linear way with the number of advice. That s the price to pay for the underlying extra services provided by a framework.
Anyway, it was a rant from your side, since from your blog it is obvious that performance is not your primary concern / issue towards AOP.
Alex -
AspectWerkz 2: An Extensible Aspect Container[ Go to top ]
- Posted by: Dmitriy Kopylenko
- Posted on: November 19 2004 09:26 EST
- in response to Alex Vasseur
Alex,
this looks very intersting. I'm looking forward to check it out.
Cheers,
Dmitriy.