4 ms·
> Are there any benifits of using a lightweight DI Engine over Spring? Well yeah, several. You don't have to depend on a huge API (spring-core and everything
by nvarsj 14y ago
> Are there any benifits of using a lightweight DI Engine over Spring?
Well yeah, several.
You don't have to depend on a huge API (spring-core and everything else needed for spring-di) just to get one piece of functionality.
You can avoid using XML as application logic.
You can avoid singletons-as-default-behavior and mutable beans all over the place.
It will likely be faster.