Spring MVC reviews the old and knows the new – from scratch, the mind map + core + architecture allows you to reach your goal in one step
1: The user initiates a request, which will be intercepted by the front-end controller (dispatcher servlet)
2: The front-end controller (dispatcher servlet) requests the Handler mapping to find the Handler
3: The Handler mapping finds the corresponding Handler (which can be more annotated or XML configured) according to the configuration. It ...
Posted by kmussel on Sun, 05 Sep 2021 19:01:16 -0700
Teach you how to integrate SSM to implement a simple CRUD project
Project notes
1, Project introduction
This is a simple CRUD(Create Retrieve Update Delete) web page project based on SSM framework. The IDE used is IDEA2021.1. Due to the time problem, this article will introduce the first two parts. The problems and solutions that are easy to encounter in the project will be given in the following articl ...
Posted by bradcis on Sun, 05 Sep 2021 13:41:59 -0700
Spring JDBC and transaction management 6: Spring declarative transaction 1: declarative transaction configuration;
explain:
(1) In[ Spring JDBC and transaction management 5: Spring programmatic transaction; ]It is known that although programming transactions are easy to understand, they may forget to write transaction control code due to programmer level problems or negligence; Therefore, declarative transaction came into being;
(2) This point should be c ...
Posted by Bad HAL 9000 on Sun, 05 Sep 2021 00:44:39 -0700
E-commerce project (grain mall)
E-commerce project summary
E-commerce project (grain mall)
1, Project objectives:
Cereal mall is a B2C e-commerce project, which sells self operated goods to customers.
2, Project architecture
1. Technical architecture
The grain mall adopts the front and rear end separation development, which is a micro service project
Front end developm ...
Posted by jbol on Sat, 04 Sep 2021 19:33:06 -0700
The most concise Spring framework
Spring framework
-How to learn frame
Know what a framework can doFrame syntaxInternal implementation will be considered after useThrough the above steps, you can implement a framework yourself
1, Overview
1. What is the framework
Spring is a container management object, with attribute assignment and reflection mechanism at the bottom Mai ...
Posted by Hard Styler on Sat, 04 Sep 2021 17:24:42 -0700
Do not understand how third-party websites and apps access wechat login? Here I explain the third-party wechat login of single sign on (recommended Collection)
2021/9/3
1, Pre preparation
First, go to wechat open platform for developer qualification certification
Address: https://open.weixin.qq.com/ You must also understand Tencent's things (white whoring is impossible - > audit fee is required)
After passing the certification, three core parameters need to be recorded
1,appid ...
Posted by remmargorp on Fri, 03 Sep 2021 15:29:38 -0700
[Spring] understanding factory design patterns step by step
What is a design pattern?
Semantic concept: classic code to solve specific problems in object-oriented design.Narrow concept: 23 design modes defined by GOF4 Gang: factory, adapter, decorator, facade, agent, template
1, Factory design mode
What is factory design pattern?
Concept: create objects through factory classes;
Benefits: deco ...
Posted by jack bro on Fri, 03 Sep 2021 14:34:23 -0700
Spring Boot 2 learning notes: Container Management
In the previous section, we simply used SpringBoot to complete HelloWorld. This section describes in depth how to use SpringBoot for container management, such as registering components in the container, reading resources, etc
2. Container management
2.1 registering components using configuration classes
In Spring, we use Spring's xml conf ...
Posted by mattison on Thu, 02 Sep 2021 23:46:56 -0700
Detailed process of spring boot integrating shiro and session
1. Dependence
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
& ...
Posted by Hell Toupee on Thu, 02 Sep 2021 16:36:38 -0700
Handwriting Spring transaction operations using AOP
Preface
AOP is a special feature of Spring. Face-oriented programming provides developers with a new way of development. It does not intrude into business logic, do not modify the code of business logic, and realize some necessary auxiliary functions of programs, such as output log, permission checking, transaction processing, etc. Elegant ...
Posted by patrick99e99 on Thu, 02 Sep 2021 10:58:42 -0700