Spring learning notes-start with spring learning notes
Overall Architecture
Spring core container Beans
Including access to the configuration file, create and manage beans through Spring containers, perform dependency injection, and control all classes related to reverse operations.
Core
Contains the basic core tool class of the Spring framework. Other components of Spring need to use this package, which is the basic core of other components.
Context
Provides extensions for the Spring core to find all the classes required to use the Spring ApplicationContext feature, all the classes required for the JNDI feature, the template engine for the UI and all the classes related to the validation.
Expression
Spring Expression Language. You can query and operate objects at runtime.
Context Support
It includes all classes related to Cache, JCA (J2EE Connector Architecture), JMS (Java Message Service), mail service, and Task Plan Scheduling template engine.
Aspect-oriented programming (AOP)
Contains the classes required to use the Spring AOP feature. With this package, you can use Spring features based on AOP, such as declarative transactions and introduction of log systems.
Aspects
Provides support for Aspectj to integrate aspect-oriented functions into programs.
Data access and integration JDBC
Contains all classes encapsulated when Srping accesses JDBC data. Access Method:
Transaction
Support declarative database programming transactions for JDBC, Hibernate, JDO, and JPA
ORM
Extends the features of the database access layer (DAO) to support iBatis (mybatis), JDO, OJB, and TopLink.
OXM
Spring supports Object XML ing and can be converted between Java and XML.
Messaging
Message-based application implementation
JMS
Provides support for Java Message Service (JMS) to simplify the use of JMS APIs.
Web and remote Web calling
Contains core classes required for web Applications
Web Portlet
Contains all classes that provide relevant support for the Portlet specifications
Web Socket
Websocket is a new feature of HTML5. It aims to establish a full-duplex communication mode between the browser and the server to solve the problem of excessive resource consumption caused by http request-response.
This package contains all classes that support WebSocket features
Instrumentation Instrument
Provides support for proxy interfaces on the server
Instrument Tomcat
Integration of tomcat connection pool
Test
Provides simple encapsulation of JUnit and other testing frameworks, making it easier and faster to test the Spring framework code.