Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

DI

  • submit to reddit

Dependency Injection with Play Framework and Google Guice

Guice is a lightweight dependency injection framework developed by Google and it's a good alternative if you are looking for DI on your Play Framework-based application. Keep in mind that the framework is lightweight but you still need to evaluate your...

0 replies - 4339 views - 06/08/11 by Felipe Oliveira in Articles

CDI Dependency Injection - Tutorial II - Annotation Processing and Plugins - Java EE

CDI provides a pluggable architecture allowing you to easily process your own annotations. Read this article to understand the inner workings of CDI and why this JSR is so important.

25 replies - 17474 views - 04/05/11 by Rick Hightower in Articles

CDI Dependency Injection - An Introductory Tutorial Part 1 - Java EE

CDI is the Java standard for dependency injection (DI) and interception (AOP). It is evident from the popularity of DI and AOP that Java needs to address DI and AOP so that it can build other standards and JSRs on top of it. DI and AOP are the...

16 replies - 28232 views - 03/28/11 by Rick Hightower in Articles

Applying IOC/DI to Method Design

Eventhough IOC is a generic design pattern, with the Spring framework the IOC/DI pattern became more popular. We can find lot of definitions for IOC/DI over internet, but the underlying concept is the same.

1 replies - 4707 views - 01/20/11 by Sivaprasadreddy... in Tips and Tricks

With CDI Extensions, You Can Build Your Own Java 7

Five years down the road, when developers look back on Java EE 6, they'll realize that it introduced things to the Java platform that are just as important as the features that debuted Java EE 5 and 4.  They'll remember that it was the first version to add...

3 replies - 13361 views - 05/18/10 by Mitchell Pronsc... in Articles

Butterfly DI Container 2.7.9-beta - Now App Configuration Support

Butterfly DI Container 2.7.9-beta Butterfly DI Container is an ultra lightweight Java dependency injection container. It supports pretty much all the most commonly used DI features. Butterfly DI Container is different from Spring in that it uses a DI...

0 replies - 1403 views - 03/27/09 by Jakob Jenkov in Announcements

Spring Dependency Injection - An Introductory Tutorial

This article discusses dependency injection in a tutorial format. It covers some of the newer features of Spring DI such as annotations, improved XML configuration and more.

35 replies - 99110 views - 11/11/08 by Rick Hightower in Articles

Butterfly DI Container 2.4.0

Butterfly Container is a Java dependency injection container. It is smaller (~100KB jar), yet more flexible and easier to use than Spring, Pico, and Guice (at least in the developers' opinion). Instead of XML, Butterfly Container is configured using a simple,...

0 replies - 2987 views - 08/25/08 by Jakob Jenkov in Announcements

Spring XML Hell? Escape XML Hell

There are some who do not like to configure dependency injection (DI) in XML. They call it "XML Hell"! There are some who even complain about Spring's DI XML configuration with its lack of type safety.

14 replies - 23447 views - 02/28/08 by Rick Hightower in News