Saturday, April 1, 2017

What is Spring Inversion of Control (IoC) in Spring JavaHighQ

                   What is Spring Inversion of Control (IoC) in Spring
?


The spring Inversion of Control(IoC) is responsible for creating the objects, managing then (with dependency injection (DI)) wiring then together, configuring them also managing their complete lifecycle.


Inversion of Control(IoC) or dependency injection minimizes the amount of coding in an app. It makes easy to test app since no singletons of "JNDI" lookup mechanisms are required in unit tests loose coupling is promoted with minimal effort and least intrusive mechanisms. Inversion of Control(IoC) containers Support eager instantiation and lazy loading of services.

No comments:

Post a Comment