Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

small footprint dependency injection java

I am looking for a very lightweight dependency injection framework for java. With minimum possible dependencies and minimum features.

Just something along the following lines: receive a java.util.List of Classes, instantiate them and just auto-wire all the objects one into the other.

like image 338
flybywire Avatar asked Jul 24 '26 05:07

flybywire


1 Answers

I would recommend Spring, since this can provide a small footprint when using only the core packages.

If you think Spring is overkill, then perhaps PicoContainer, or guice?

like image 95
toolkit Avatar answered Jul 26 '26 19:07

toolkit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!