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

Link Details

Link 28538 thumbnail
User 225894 avatar

By javadonkey
via javadonkey.com
Published: Jul 02 2007 / 08:36

One of the biggest benefits of Dependency Injection is that you can easily swap components in or out. I find that I rarely actually need to do this. Is using Spring IoC or another IoC container a waste of time?
  • 14
  • 0
  • 1057
  • 701

Comments

Add your comment
User 137674 avatar

ronslow replied ago:

0 votes Vote down Vote up Reply

Not having used Spring/Dependency injection, am I right in thinking it's really a fancy version of what I know as the Factory pattern i.e. creating implementing classes at runtime - which is just good programming practice.

User 225419 avatar

michaelsmanley replied ago:

0 votes Vote down Vote up Reply

The article is worth more for the good comments it received than the article itself.

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.