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

Large Abstract Art with Fine Details and Textures

coding headlines

Detailed Error Handling In Bash

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

Expect Script Examples

Porting tips: Perl to Python

Unigine Engine: OpenGL-based games for Linux

Tutorial: Linux game programming with Ogre 3D

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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