What would other benefits be in having Spring fully manage Stripes' action beans?

I have used Spring Security annotations on Spring-managed Stripes ActionBeans and that was very useful. You can define required roles/ permissions at the class level, or event handler method level. I also was able to add low-impact performance monitoring using Spring AOP interceptors with JaMon.

Is their a specific reason to why you want to open transactions in your action beans rather than in a service layer?


Opinion is divided on demarcating transactions within ActionBeans. As Dmitri mentions, defining pass-through controllers that do nothing but demarcate transactions across multiple service method calls might be a waste of time. If the developer understands the tradeoffs, then its fair game IMHO.

Chris.
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to