Introduction to spring MVC
1, What is spring MVC
1. Concept: Spring MVC is a convenient web framework provided by spring. It is composed of processor mapping, processor (controller), dispatcher servlet, view parser and view. 2. Operation view: 1. The user sends a request to the front-end controller DispatcherServlet
2. The dispatcher servlet receives a request to call ...
Added by hsn on Sat, 23 Oct 2021 19:26:38 +0300
How to consolidate local cache in a project
preface
For spring boot integrated cache analysis, please refer to the previous article( https://blog.csdn.net/buyaoshuohua1/article/details/119843101); This time, we mainly analyze the problem of integrating local caches, such as cafe. In fact, this is not troublesome. There are many online cases. Here we talk about the problems encountered ...
Added by dotBz on Sat, 23 Oct 2021 18:11:55 +0300
0509 - international logistics provider integrated platform project - 08 create by cdept CTime prepare user role Jxl Poi report (HSSFWorkbook,SXSSFWb) statistics (hql)
1, Review
Purchase and sale contract
1. What is a purchase and sales contract 2. Analyze the relationship of table structure 3. Three paradigms and anti three paradigms of design table 4. Add redundant fields to make the query faster 5. Decentralized calculation principle Calculation of total amount of purchase and sales contract 6. Implement ...
Added by Magneto on Fri, 22 Oct 2021 05:20:16 +0300
Spring MVC request source code process
preface
Introduction to MVC module of Spring official website:
Spring Web MVC is the original web framework built on the Servlet API and has been included in the Spring Framework from the very beginning. The formal name, "Spring Web MVC," comes from the name of its source module (spring-webmvc), but it is more commonly known as "Spring ...
Added by imagineek on Thu, 21 Oct 2021 04:16:29 +0300
Spring novice (transaction)
Transactions in Spring
1. Business Review
Transaction: a logical set of operations, either all successful or all failed. Transaction characteristics: ACID
Atomicity: transaction indivisibility consistency: data integrity is consistent before and after transaction execution. Isolation: when a transaction is executed, it should not be dist ...
Added by KissMyBrain on Mon, 18 Oct 2021 23:32:57 +0300
Asynchronous call of @ Async annotation implementation method in Spring Boot project
1. Introduction
During the development of the company's projects, we often encounter the following scenarios: 1. When we call a third-party interface or method, we don't need to wait for the method to return to execute other logic. At this time, if the response time is too long, it will greatly affect the execution efficiency of the progra ...
Added by predator12341 on Mon, 18 Oct 2021 09:00:41 +0300
Spring security security framework
1. This article comes from Silicon Valley and is not suitable for beginners. 2. Come back with a certain foundation.
Part I
1, Understanding part
1. Introduction to spring security
Let's put it this way. It's a very boastful security framework. It mainly does two things: Authentication and Authorization
2. History
Its history, you can sea ...
Added by jiggens on Sat, 16 Oct 2021 20:53:30 +0300
Spring declarative transaction management
1, Transaction:
1. Four features: [ACID]
① atomicity: indivisibility, which means that multiple operations involved in a transaction are logically indispensable. All operations in the transaction are required to be executed or not executed
&nbs ...
Added by speedamp on Fri, 15 Oct 2021 22:06:43 +0300
[SSM] Spring + Spring MVC + Mybatis integration
1. Environmental construction
1.1 database files
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int NOT NULL AUTO_INCREMENT COMMENT 'id Primary key',
`username` varchar(20) CHARACTER SET ...
Added by alex57 on Thu, 14 Oct 2021 22:57:57 +0300
spring transaction usage
1. Enable transaction management: enables transaction management
Add the @ EnableTransactionManagement annotation to the spring configuration class
@EnableTransactionManagement
public class MainConfig4 {
}
principle @The EnableTransactionManagement annotation will enable spring to automatically manage transactions. With this annotation, ...
Added by the_oliver on Thu, 14 Oct 2021 22:43:45 +0300