It's not a secret anymore!*
The moose likes Struts and the fly likes Functional difference between Struts 2 interceptors and Spring AOP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Functional difference between Struts 2 interceptors and Spring AOP" Watch "Functional difference between Struts 2 interceptors and Spring AOP" New topic
Author

Functional difference between Struts 2 interceptors and Spring AOP

Yaniv Ravannamuhb
Greenhorn

Joined: Nov 13, 2010
Posts: 1
Hello,

Functionality-wise, what is the difference between the two: Struts 2 interceptors and Spring AOP ? I've been thinking they both are a way to intercept execution path somewhere and perform some cross cutting tasks. They might alter the direction/flow/path of the execution also.

I don't know if am getting it wrong here, and need your help. If they both are the same, is one better than the other ?

Thank you for your time.
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Yes, i'm feeling that same. There is no difference. But need's clarification.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

my doubt clarified here. http://www.coderanch.com/t/91681/java/Why-Interceptor-pattern-AOP
 
 
subject: Functional difference between Struts 2 interceptors and Spring AOP
 
Similar Threads
Logging Implementation using Spring AOP or AspectJ
Spring AOP / Spring AOP + AspectJ ?
AOP
AOP vs OOP
Seam AOP