Computers have been my hobby since I was 12. Now I'm a freelance Java developer. Like many other developers I am working on various private projects. Some are open source components (Butterfly Components - DI container, web ui, persistence api, mock test api etc.). Some are the tutorials at Yet others are web projects. I hold a bachelor degree in computer science and a master degree in IT focused on P2P networks. Jakob has posted 35 posts at DZone. You can read more from them at their website. View Full User Profile

Butterfly DI Container 2.6.0

  • submit to reddit

Version 2.6.0 brings easy Map configuration and the ability to assign names to the input streams from which you read container scripts. This name is used when an error is detected in the script, making it easier to find out the file in which the error occurred. It is now also possible to have the ScriptFactoryBuilder close the script input stream for you. This version also fixes a minor bug related to parsing and error messages.

You can check out Butterfly Container here:


Butterfly DI Container is a faster, smaller and smarter DI container for Java. It pioneers many features not found in Spring, Pico and Guice, like a very simple Java-like configuration script language, runtime-replacable factories for easier reloading and overriding of configurations, custom factory interface adaptation, input parameters to bean factories, thread singletons, and flyweights. In the future it will also contain support for internationalizations, method interception, and many other features.

Published at DZone with permission of its author, Jakob Jenkov.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)