Prev Next

Spring / Spring AOP

Difference between Spring AOP and aspectJ.

Spring AOP does runtime weaving by default while Aspect is compile time weaving.

Spring AOP doesn’t work with final class or final/static methods because it may not able to create proxy by subclassing. AspectJ works with final class as it does compile time weaving and not depend on proxy pattern.

More Related questions...

Show more question and Answers...


Comments & Discussions