Mar 12th, 2007, 07:24 AM
Spring AOP vs Aspectj : Performance
From my understanding spring AOP is based on dynamic proxies where as aspectj is based on bytecode transformation technique. Based on difference performance comparison blogs I think aspectj is much faster than spring AOP.
Guys, can you please help me in deciding if I should use aspectj instead of using spring AOP. because aspectj offers more performance. As well spring framework very well permits use of aspectj along with spring.
Mar 12th, 2007, 08:22 AM
You might want to do a search, I'm pretty sure this has been brought up quite a few times. This might be useful.
Mar 12th, 2007, 09:22 PM
Originally Posted by karldmoore
Considering above benchmark, spring is the slowest performer, and aspectj would be the best candidate for AOP. Hence my take : aspectj AOP with spring framework would be the best impressive combination.
Jun 17th, 2008, 08:00 PM
The time is in nanoseconds so based on your application load it might be negligible difference.
Use developer convenience to decide which framework to use
Jun 25th, 2008, 08:38 AM
The real question is what are you going to use AOP for in you app. If you are not familiar with AspectJ they could a learning curve, but spring AOP is pretty easy. If you needs are simple, I would go with spring.