Over a million developers have joined DZone.

Butterfly Container 2.3.9-beta: Improved Error Messages During Factory Script Parsing

Version 2.3.9-beta brings improved error messages during factory script parsing. Earlier the parser did not always tell you the name of the factory the parsing error was encountered in. This has been improved.

Butterfly Container is a dependency injection container, developed because Spring has grown too large. As such, Butterfly Container is only an 90 KB jar file. Yet it is as sophisticated as Spring, Pico and Guice, and pioneers new features like factory input parameters, replacement of factories at runtime etc.

Butterfly Container also performs well. It is faster than Guice, which in turn claims to be faster than Spring, so you are not sacrificing performance by choosing Butterfly Container. On the contrary.

You can find Butterfly Container here:




{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}