News for hackers. Stuff that matters.
Re:Spring Dependency Injection Styles – Why I love Java base... by nvarsj on Tuesday July 24, 2012 @12:14AM (#4284326)
> 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.

There are no comments on this comment yet.