News for hackers. Stuff that matters.
Re:The inverse of IoC is Control by FreshCode on Thursday February 07, 2013 @08:25AM (#5181880)
Do I understand correctly that the writer's main concern is that DI configuration is done in XML files, or that configuration takes place at run-time, instead of compile-time?
Re:The inverse of IoC is Control by filpen on Thursday February 07, 2013 @09:12AM (#5182078)
I also don't get what the author's issues are. Half of the article seems to be against XML configuration, and I don't come from a Java background but it seems that there are containers for Java that do not necessarily require an XML configuration, or is it not the case?
Re:The inverse of IoC is Control by twistedpair on Thursday February 07, 2013 @10:01AM (#5182353)
Hmm... guess the author is not familiar with @Autowired, @Resource, @Component... etc. You don't need XML fun. And, he complains about 2 of the same type... behold @Autowired(name="bar"), @Autowired(name="bah"). Miracle? No, just DI.