Hello !

So with runtime-weaving as i understand u mean CGLIB proxy creation  
(unlike pure JDK based approach).
Using Spring AOP means that your ActionBeans should be managed by Spring  
for aspects to be applied.
This can be achieved using Stripes extension availabe from  
http://www.stripesframework.org/display/stripes/Extended+Stripes-Spring+Support.
But using this approach with CGLIB proxy creation you will fall in some  
kind of troubles.
Spring AOP subclasses target class to apply method interceptors for AOP.
Since Stripes actively uses annotations -> those annotations won't be  
inherited by newly created proxy class.
So for example if your Action bean has @DefaultHandler annotation and you  
want to apply some advice to it
it will not be accesible because proxy class wotn inherit annotation.

So plz give a chance to interceptors or get rid of Spring AOP (not Spring  
!!!) and use for example AspectJ compiler or AspectJ load-time weaving
Or maybe some other framework :))

This is from my personal expirience with Spring/Stripes/AOP. So i will be  
glad to give u more feedbacks :)


29.07.08 в 13:17 Simon Faust в своём письме писал(а):

> Hi,
>
> I use Spring AOP / runtime-weaving.
>
> Cheers, Simon

-- 
Best Regards
Evgeny K. Shepelyuk


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to