I am a newbee in the Spring concept. I wanted to create an AOP programming using Spring's AOP concept. I created the bean reference as org.springframework.aop,framework.ProxyFactoryBean .
The example is working perfectly. NiwI want to make my "before" method thread safe, so that multiple users can access my application by invoking my "before" method safely.
Google uncle says it can be done by using Cglib2AopProxy. But cannot understand what changes are to be made if I use the Cglib2AopProxy instead of ProxyFactoryBean:
a) What more changes are to be made apart from this?
b) How do I know if my application has been thread safe by using Cglib2AopProxy?