Spring Dependency Injection and Inversion of Control Container Concepts

From NovaOrdis Knowledge Base
Revision as of 16:24, 8 October 2018 by Ovidiu (talk | contribs) (→‎Beans)
Jump to navigation Jump to search

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)

Component scanning.

Autowiring.

Automatic configuration (Spring Boot autoconfiguration).

Dependency Injection

Application Context

Beans

Collaborator beans