Spring AOP

Spring AOP is purely developed in Java. It doesn't require us to alter or control the class loader hierarchy. Because of this adaptability, you can utilize Spring AOP for a servlet container or application server. At present, Spring AOP only supports applying Advice at method level. In other words, method-level join-points are supported in Spring AOP

Spring supports AOP in conjunction with its IoC capabilities. You can define aspects with normal bean definition, while weaving them with AOP specific configuration. In other words, IoC is used to define aspects, and AOP is used to weave them to other objects. Spring uses both of them to solve common problems. This is how Spring AOP differs from other AOP frameworks.

Spring AOP is a proxy-based framework, and supports runtime weaving of objects. It can be used through either XML-based or AspectJ annotation-based configuration.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.141.219