You make DZone different! Login and vote now.
By jj83777
via java.dzone.com
Published: May 13 2008 / 18:35
This is the announcement of Butterfly Container 2.2.0 - an attempt to create a very small DI container without sacrificing any advanced functionality.
Comments
Motion Control replied ago:
You don't create a "a very small DI container" by inventing your own Scripting language.
Jakob Jenkov replied ago:
What do you mean by that statement? Why don't you explain what you mean?
Butterfly Container is an 87 kb jar file, and that includes the scripting language parser. Not even Pico Container is smaller (~150 kb jar). Guice is about 540 KB jar, and Spring core isn't smaller either. So yes, Butterfly Container is a very small DI container based on jar file size.
Runtime wise Butterfly Container won't take up much memory during parsing, unless your application is huge (your configuration scripts are mega bytes in size). And, this can and will be tuned even further in future releases too.
Voters For This Link (8)
Voters Against This Link (1)