The composition of the spring framework
Here are some of these.
Spring introduces a number of steps that need to be resolved repeatedly in real-world development and is abstracted into a framework.
The Spring core container is the core mechanism of the spring framework.
The spring framework is the IOC (what is the IOC) container that implements the AOP function.
Spring provides a lightweight solution for enterprise-class development, including:
Based on the mechanism of dependency injection;
The declarative transaction management based on AOP;
Integration with multiple persistence layer technologies;
Excellent web MVC framework;
Spring runs through the presentation layer, the business layer, and the persistence layer.
Spring has the following advantages:
Low-intrusive design (what is low-invasive?) ), the code pollution is very low.
Independent of various application servers (what is the application server?) ), the application based on the spring framework enables true write Once, Run Anywhere.
The Spring di container (what is called Di Container) reduces the business object substitution (what is called object substitution?). ), which improves decoupling between components.
Spring's AOP enables centralized processing of some common tasks, such as security, transactions, logs, and more, for better reuse.
Spring's ORM and DAO provide a good integration with a third-party persistence layer framework (such as hibernate), simplifying the underlying database approach.
All or part of the spring framework can be used in a project.
The core point of spring is to support reusable business and data access objects that are not bound to a particular Java EE service container.
Aop,aspect oriented programming is programming for facets. A technology that implements the unified maintenance of program functions by means of precompilation and runtime dynamic agent.
Ioc,inversion of control, inversion of controls.
Di,dependency injection, Dependency injection.
Orm,object Relation Mapping, Object-relational mapping, is a program technology that enables the conversion of data between different types of systems in an object-oriented programming language.
Dao,data Access object, the data Access objects.
The origins and backgrounds of spring