REFERNECES:
1. An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1: http://www.onjava.com/lpt/a/4994
2. http://www.springframework.org/docs/wiki/spring_aop_framework.html
3. Springframework in AOP simple use: http://blog.9cbs.net/ylong/archive/2004/07/10/38482.aspx
I Just Copy The Code from The onjava ONE, AND IMPLEMENT A DEMO with IDEA 4.5. But a minor change for the Same Issue in IOC EXAMPLE:
Import org.springframework.context.support.classpathxmlapplicationContext;
// read the configuration file from classpath applicationContext ctx = new classpathXMLApplicationContext ("Springconfig.xml");
The must-have JAR file includes:
Aopalliance.jar, Commons-Logging.jar, Jakarta-ORO-XXX.jar, Spring-aop.jar, Spring-CONTEXT.jar, Spring-Core.jar.