Chapter 3. Spring AOP Proxies
In this chapter, we will discuss how to get started with Spring AOP proxies.
Some of the topics discussed in this chapter are:
JDK and CGLIB proxy
Creating proxy programmatically
ProxyFactoryBean
Autoproxies
Target sources
Proxy
It is proxies that realize AOP in Spring and allow the application of crosscutting functionalities. We will see the application of proxies both in the classic version of Spring, and with the support of AspectJ with annotations and XML Schema. We will also see the possible matching of configuration to adapt proxies to our demands, and use their advanced features.
Proxy is a structural design pattern that is a part of the 23 design patterns of the GoF (Gang of Four) composed by Erich Gamma, Richard ...
Get Spring 2.5 Aspect-Oriented Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.