So, it's been almost 3 years, eh?
50% of those who commented in favor of IoC frameworks don't understand the difference between IoC and IoC Frameworks. I doubt they know that you can write code without being deployed to an app server
If we take most popular Java Spring framework, it is IoC configuration moved from XMl into the code and now look like this
`@Configuration
public class AppConfig {
public @Bean TransferService transferService() {
return new TransferServiceImpl(accountRepository());
}
public @Bean AccountRepository accountRepository() {
return new InMemoryAccountRepository();
}
}
`
And we need a framework to do this why exactly?