Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Spring
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Spring
Difference between AOP and Interceptor
Naresh Shanmugam
Ranch Hand
Posts: 93
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If a project is designed using Spring and Struts2, can somebody tell when to use Interceptor in Struts2 and When to use AOP in Spring. This is always confusing us.
David Newton
Author
Posts: 12617
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use S2 interceptors when it's something related only to the normal S2 flow and/or need access to S2 infrastructure. Use AOP for everything else.
Naresh Shanmugam
Ranch Hand
Posts: 93
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
need access to S2 infrastructure
David could you please give me an example for this.
David Newton
Author
Posts: 12617
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Something on the value stack, like the action.
Naresh Shanmugam
Ranch Hand
Posts: 93
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Got the point. Thanks for your valuable time David
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts2 with Spring AOP
struts2 + interceptor
struts2 problem
How to Configure interface Preparable in Struts2..
AOP
More...