SSM framework --- Spring IoC
Framework overview
The so-called framework is actually the framework of the program. In this framework, the basic framework of the program is built, and convenient solutions are given for the general problems of the program, which can enable developers to quickly develop specific applications based on the framework.
Common framework
SSH: st ...
Added by _confused_ on Thu, 03 Feb 2022 16:52:31 +0200
Spring proxy mode
The underlying principle of spring AOP is the proxy mode, which can be divided into:Static proxyDynamic agentStatic proxyRole analysis:Abstract role: generally, interfaces or abstract classes are used to solve the problem of rentReal role: the role of the agent [landlord]Agent role: acting for real roles. After acting for real roles, we usually ...
Added by buluk21 on Thu, 03 Feb 2022 16:12:58 +0200
Spring learning notes. Spring auto assembly, auto assembly by name: byName, auto assembly by type: byType, @ Autowired, @ Qualifier, @ Resource
Automatic assembly of Bean
Automatic assembly is a way to use spring to meet bean dependenciesspring will find the bean that a bean depends on in the application context.
There are three assembly mechanisms for bean s in Spring:
Explicit configuration in xml (this is the way we have done before);Explicit configuration in java;Implicit be ...
Added by Brudus on Thu, 03 Feb 2022 14:43:33 +0200
Chapter 7 SpringBoot unit test
1 Junit5
Spring boot version 2.2.0 began to introduce JUnit 5 as the default library for unit testing
As the latest version of JUnit framework, JUnit 5 is very different from the previous version of JUnit framework. It consists of several different modules of three different subprojects.
JUnit 5 = JUnit Platform + JUnit Jupiter + JUnit Vintage ...
Added by mduran on Thu, 03 Feb 2022 11:46:20 +0200
[Spring Cache] V understand the implementation process of Spring Cache from @ EnableCaching
preface
The previous chapters learned the following:
Cache manager related abstractionsAnnotations and attributes related to cache operationThe CacheOperation corresponding to the cache operation is related to the CacheOperationSource responsible for resolving the corresponding CacheOperations
The above content paves the way for an in-de ...
Added by rashmi_k28 on Thu, 03 Feb 2022 10:52:31 +0200
Soap injection learning -- anluan shooting range -- SOAP Protocol injection practice record
Happy New Year!
Today is the second day of the new year. I wish you all greater progress in the new year.
catalogue
SOAP injection knowledge points
process
ย
SOAP injection knowledge points
SOAP injection - Zhihu
๐๐๐๐๐๐๐๐๐๐๐๐ For details, you can see the explanation of the controller college above (not advertising).
Of c ...
Added by xenophobia on Thu, 03 Feb 2022 07:35:45 +0200
What is the difference between congestion model and anemia model?
Concept:
The anemia model was first widely used from EJB2, and its strongest period was created by Spring, which separated "behavior" (also known as logic and process) and "state" (which can be understood as data, and corresponding to language is object member variable) into different objects. The object with only state is ...
Added by imranlink on Thu, 03 Feb 2022 07:20:13 +0200
CRUD demo of SSM integration
1, Create a maven project
2, Introduce the jar package that the project depends on [new knowledge mybatis reverse engineering, spring unit test]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http ...
Added by Candise on Thu, 03 Feb 2022 06:55:15 +0200
5 minutes to understand - Async, the asynchronous framework of SpringBoot
Asynchronous framework
Why use asynchronous framework? Solve what problem?
In the development of spring boot, it is generally called synchronously. However, there are often special businesses that need to be processed asynchronously. For example: register a new user, send 100 points, or place a successful order, send a push message, etc. ...
Added by cx323 on Thu, 03 Feb 2022 04:36:02 +0200
Spring learning notes. The first spring program is hellosppring. Spring overview, IOC implementation analysis.
1. Spring overview
1.1 INTRODUCTION
Spring: Spring - > brings spring to the software industryIn 2002, Rod Jahnson first launched the Spring framework prototype interface21 framework.On March 24, 2004, the Spring framework was redesigned based on the interface21 framework and released the official version of 1.0.It's hard to imagine R ...
Added by phpbeginner on Thu, 03 Feb 2022 01:01:12 +0200