http://www.picocontainer.org/
For some background on inversion of control, see http://www.martinfowler.com/articles/injection.html