«« Next » « Previous
«« Next » « Previous

Link Details

Link 56300 thumbnail
User 176228 avatar

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.
  • 11
  • 6
  • 1140
  • 408

Comments

Add your comment
User 241699 avatar

IvanoBulo replied ago:

0 votes Vote down Vote up Reply

Guice is better choice when you intend to use DI with annotations.

User 259036 avatar

haskellRocks replied ago:

0 votes Vote down Vote up Reply

I agree.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.