TUTORIALS   |   BUTTERFLY COMPONENTS   |   ABOUT   |   RSS      A Voice in the Buzz on Software

Butterfly Container 2.6.0

Small, Smart, Fast Dependency Injection Container for Java
99 KB JAR File
No External Dependencies.
Down to 35% instantiation overhead (2 to 4 times faster than Google Guice).
Configure via Butterfly Container Script or plain Java factories.
Allows factories to take input parameters - a useful feature missing in
Spring, Pico and Guice.
Read more at butterfly.jenkov.com

TUTORIAL CATEGORIES
Dependency Injection (9)
Java Concurrency (21)
Java Multithreaded Servers (4)
Java Exception Handling (12)
Java Persistence (2)
Java Reflection (11)
Java Unit Testing (2)
OOP / OOD (2)

Flex Tetris Tutorial (6)
OPEN SOURCE
Butterfly DI Container
Butterfly Web UI
Butterfly Persistence
Butterfly Testing Tools
JSP Prize Tags
Mr Persister ORM
NEWS
Flex Tetris Tutorial Continued!
5 new texts have been released in this trail on how to implement the Tetris game in Flex. Like Tetris or Flex? Go check them out now!

Design of a DI Container - Global and Local Factories
Text no. 4 in the series explaining the design and the decisions behind it, is an elaboration on the internal design of the container and the factories. More specifically, it is about the division of factories into global and local factories, each with their own responsibility.

Butterfly Container 2.6.0
Version 2.6.0 brings easy Collection, Array and Map configuration. It also adds the ability to assign names to the input streams you read container scripts from. This name is used when an error is detected in the script, making it easier to find out what file the error ocurred in.