Wednesday February 20, 2008. 03:44 PM
FreshMeat
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,
flexible, Java-like configuration language, or by
plugging plain non-annotation, non-reflection Java
factories into the container. There are no
external dependencies.
License: The Apache License 2.0
Changes:
This version fixes a circular factory dependency
problem when using Java factories. It also makes
it easier to preserve type safety in Java
factories. This version has been performance
tested against plain Java instantiation and
against Google Guice.