Lightweight ioc-Container for Java?

devoured elysium picture devoured elysium · Mar 16, 2011 · Viewed 25.9k times · Source

Coming from .NET, I'm used to Ninject, that's a small simple ioc-container. Is there anything simple and lightweight for Java?

The simpler the better!

Answer

Bozho picture Bozho · Mar 16, 2011

Pico container or google-guice. See a comparison here.

Btw, few people will call spring "ligthweight", but it can be used as such with only the basic features. Hence it's included in the above comparison.