Mar 13 2008

Spring AOP with aspectJ and JDK5 annotations

Published by Gilles at 4:01 pm under Spring

Setting up application context files

In the applicationcontext.xml, we define a simple bean Person. This is the bean we will play with to see the interceptors calls.
applicationContext
The applicationcontext-aop.xml is the place where our aspects beans are defined. These separation in two files is not mandatory but can be useful when dealing with a lot of beans…
applicationcontext-aop.jpg

Pages: 1 2 3 4 5 6

Trackback URI | Comments RSS

Leave a Reply