Spring Dependency Injection and Inversion of Control Container Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


At the heart of the [[Spring Framework]] are the modules that implement the [[#IoC_Container|core container]], including a configuration model and a [[#Dependency_Injection|dependency injection mechanism]]. Support for different application architectures, including messaging, transactions and persistence is built in top of the core container.
At the heart of the [[Spring Framework]] are the modules that implement the [[#IoC_Container|core container]], including a [[#Configuration_Model|configuration model]] and a [[#Dependency_Injection|dependency injection mechanism]]. Support for different application architectures, including messaging, transactions and persistence is built in top of the core container.


====<span id='IoC_Container'></span>Inversion of Control Container====
====<span id='IoC_Container'></span>Inversion of Control Container====

Revision as of 04:49, 8 October 2018

Internal

Overview

At the heart of the Spring Framework are the modules that implement the core container, including a configuration model and a dependency injection mechanism. Support for different application architectures, including messaging, transactions and persistence is built in top of the core container.

Inversion of Control Container

Configuration Model

XML-based

Java-based (@Configuration)

Automatic configuration (autoconfiguration).

Dependency Injection

Application Context

Beans