InfoQ Homepage Dependency Injection Content on InfoQ
-
Injecting Implementation Dependencies into WCF Services
A very popular concept of implementing WCF services is to use a layered approach that consists of a service, a business logic and a data access layer. The dependencies between these layers might be injected at runtime via dependency injection containers.
-
Does lines of code kill?
Steve Yegge touched a nerve in the development community when he argued that keeping the code size to an absolute minimum is the most important thing when developing software. In his view, you may have to sacrifice some design patterns and avoid refactoring at times just to keep the lines of code down. And if your problem is large enough - you may have to switch to another programming language.
-
Does Dependency Injection pay off?
There has been an interesting discussion in the blogosphere about the benefits or lack of benefits from using Dependency Injection. The question is — does Dependency Injection really pay off?
-
Guice and JavaConfig: Two Approaches to IoC through Annotations
Now that the dust has settled a bit from the initial release of Guice, the comparisons with Spring IoC and specifically with Spring JavaConfig are available. Guice and JavaConfig offer different approaches on putting IoC configuration into code using Java annotations.
-
Guice: Fast and Light Dependency Injection Container
Guice is a new open-source Dependency Injection framework for Java 5 that is closing in on a 1.0 release. Guice is a very annotation-driven, lightweight framework that provides an alternative to Spring, for a certain set of features.
-
Spring.NET QnA with Aleks Seovic and Mark Pollack
InfoQ had a chance to sit down with Aleksandar Seovic and Mark Pollack the co-creaters of Spring.NET. Spring.NET is an application framework that brings AOP, a Dependency Injection container and data access framework to .NET. It is not a complete port of Spring to .NET yet it preserves the tenets of Spring.
-
Resource Injection in the Java EE platform Overview
One of the simplification features of Java EE 5 is the implementation of basic dependency injection to simplify web and EJB components. Annotations are used for injecting resources, services, and life-cycle notifications. A new tutorial on java.sun.com shows how to use annotations to do resource injection and we've summarized what can be injected and where.