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

Abstract Art Prints by Ray Yeargin

coding headlines

Detailed Error Handling In Bash

Unix: Shell Script Wrapper Examples

Introduction to Perl one-liners

Bash: Use the Test Command for multiple aspects

Add Video Streaming to C/C++ apps with Nex Gen Media Server API

e-book: Sed One-Liners Explained

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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