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

Dependency injection with AspectJ and Spring

Up
vote
Down

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:6968 | -solrac, December 17, 2005
More Programming articles...

Abstract Art Prints on Canvas

Selected articles

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Space Tyrant: Multithreading lessons learned on SMP hardware

Hacker Haiku

Why software sucks

Why Programmers are not Software Engineers

Graffiti Server Download Page

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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