Dependency injection and aspect-oriented programming are complementary techniques, so it’s natural to want to use them together. This article shows you how to add some power to your programming by combining dependency injection of the Spring framework with aspects written using AspectJ.