Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Dependency injection with AspectJ and Spring


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.
In this article, I show you how to combine the dependency injection of the Spring framework effectively with aspects written using AspectJ 5. I assume you have a basic knowledge of AOP (although if you don't, you'll find some good starting points in the Resources section), so I'll begin my discussion by analyzing the key roles and responsibilities involved in a dependency injection-based solution. From there, I'll show you how to configure singleton aspects via dependency injection.
 read more | mail this link | score:6627 | -solrac, December 17, 2005
More Programming articles...

Abstract Art Online Gallery

coding headlines

No Starch Press has published my Perl One-Liners book!

OpenShift Online: a non-developer guide


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin