«« Next » « Previous
«« Next » « Previous

Link Details

You make DZone different! Login and vote now.
Link 80748 thumbnail

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.
  • 8
  • 1
  • 1146
  • 257

Comments

Add your comment
User 285418 avatar

Motion Control replied ago:

-1 votes Vote down Vote up Reply

You don't create a "a very small DI container" by inventing your own Scripting language.

User 131196 avatar

Jakob Jenkov replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)