nIoC can be thought of in terms of what distinguishes a framework from library.
nA Library performs some
work when called and returns to caller. Framework encapsulates some abstract design incorporated with behavior but to use you must incorporate your
unique behavior via callbacks or sub-classing.
n
nIoC is a principle that is used to wire an application
together, how dependencies or
object graphs are created.
n
nIn Spring,
the IoC “flavor” is referred to as Dependency Injection - DI.