Testing Spring AOP code

In Using the Spring AOP Framework with EJB Components, Eugene Kuleshov presents a really nice way to test Spring AOP configuration code and advices. When you use Spring AOP use can easily test your target objects with unit tests, but how do you test the weaved code? In the above article Eugene Kuleshov uses unit […]

continue reading Testing Spring AOP code

AOP and legacy code

AOP is great when you want to enhance an application but you do not want to modify its source code. This restriction may come for maintainability reasons. A good example of this can be found in the article “Using Aspects to autonomic-enable legacy applications” by Brian Temple published at developerWorks. Quote from the article’s intro: […]

continue reading AOP and legacy code