By hanneman
via leonardoborges.com
Published: Dec 08 2007 / 13:13
Dependency injection - DI - is a great thing. Really. The hability to tweak implementations without touching your code is awesome and the DI frameworks, like spring, saves you a lot of coding. No more service locators stuff.
But, and there is always a but, you’re left with a bunch of XML configuration. And I hate it. Not that XML files are bad… the thing is that everything nowadays has its own set of XML configurarion files. And Spring is not different.
SaveShareSend
Tags: frameworks, java, news, open source
Comments
IvanoBulo replied ago:
Guice is better choice when you intend to use DI with annotations.
haskellRocks replied ago:
I agree.
Voters For This Link (11)
Voters Against This Link (6)