public interface Ioc
IocContainer
manages all components and takes care
of these dependencies and injects
the instance of B into A. This process is
called dependency injection (DI). Therefore the implementation of component B can be
replaced without touching component A. This pattern is the key to a maintainable architecture. CDI
for the details how to realize the IoC
pattern in Java.Copyright © 2001–2014 mmm-Team. All rights reserved.