java - Difference between Inversion of Control & Dependency Injection -
ioc , di concept confusing me read lots of views , post of different people , reach conclusion. understand these topics are...
inversion of control technique in java making loosely coupled , more maintainable applications, , dependency injection 1 of way achieve concept(technique).
inversion of control container inject dependency @ run time java classes make loosely coupled application.
is true ? correct me if wrong...
ioc generic term meaning rather having application call methods in framework, framework calls implementations provided application.
di form of ioc, implementations passed object through constructors/setters/service look-ups, object 'depend' on in order behave correctly.
reference : inversion of control vs dependency injection
Comments
Post a Comment