Get to know SpringBoot in one article
Write before
I should have gone to Hangzhou on February 2nd to find a job, because the outbreak of the epidemic had to postpone my trip. Why not do anything at home?Better play games and watch movies than go out and brag with the interviewer.I first came into contact with SpringBoot in Black Malleyou S ...
Posted by theda on Fri, 31 Jan 2020 02:12:37 +0100
Comparison of running applications with maven and fat jar/war in spring boot
Article Directory
brief introduction
Spring Boot Maven Plugin
Run the application using the Maven command
Run the application as a fat jar/war package
Detailed War File
Detail jar file
How to choose
Comparison of running applications with maven and fat jar/war
brief introduction
In the previous ...
Posted by kye on Tue, 28 Jan 2020 05:24:43 +0100
SpringSecurity Default Form Login Page Shows Process Source
This article focuses on how SpringSecurity provides the default form login page and how it presents the process.
Involve
1.FilterSecurityInterceptor,
2.ExceptionTranslationFilter ,
3.DefaultLoginPageGeneratingFilter filter,
The voting mechanism of AccessDecisionManager is also briefly introduced.
_1. Prepare (experience SpringSecurity default ...
Posted by badapple on Wed, 22 Jan 2020 03:00:48 +0100
Super simple SpringBoot integrates Swagger2
Several pain points of handwritten Api documents:
When a document needs to be updated, it needs to send another copy to the front end, that is, the document update communication is not timely.
Ambiguous interface return result
You can't test the interface directly online. You usually need to use ...
Posted by BKPARTIES on Mon, 20 Jan 2020 08:30:39 +0100
Introduction to SpringBoot + multi framework integration
1 Overview
1.1 INTRODUCTION
Spring Boot is a new framework provided by the Pivotal team. It is designed based on spring 4.0, which simplifies the whole process of building and developing spring applications, and makes developers no longer need to define template configurations
In short, it helps devel ...
Posted by mayfair on Thu, 16 Jan 2020 09:11:22 +0100
Propagation mode in database transaction
Promotion "required: if there is no transaction at present, a new transaction will be created. If there is a transaction at present, the transaction will be added. This setting is the most commonly used setting.
Promotion_supports: supports the current transaction. If there is a transaction, jo ...
Posted by hailam on Wed, 15 Jan 2020 13:26:19 +0100
SpringBoot 2.X Integration Mybatis
1. Create a project environment
Check Web, Mybatis, MySQL as follows
Depends on the following
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>mysql< ...
Posted by mecha_godzilla on Wed, 08 Jan 2020 00:52:23 +0100
Three ways to use the @Import comment of the spring comment
Catalog
1. @Import Notes
2. @Import in three ways
3. @Import Annotation Summary of Three Ways of Use
@
1. @Import Notes
1. @Import can only be used on classes, @Import implements adding instances to spring's IOC container by means of fast import
2. There are many ways to add IOC containers, @Impo ...
Posted by m4x3vo on Sat, 04 Jan 2020 04:35:48 +0100
Spring Boot 2: how to customize Servlet Filter
1. Preface
Sometimes we need to declare some custom servlet filters in the Spring Boot Servlet Web application to handle some logic. For example, simple permission system, request header filtering, XSS attack prevention, etc. This article explains how to declare custom servlet filters in Spring Boot applications and define their respective sco ...
Posted by lokie538 on Mon, 30 Dec 2019 10:52:03 +0100
Enterprise springboot tutorial (7) springboot enables declarative transactions
springboot is very simple to start a transaction, only one annotation is needed @Transactional Just fine. Because in springboot, events have been enabled for jpa, jdbc and mybatis by default. When they are introduced, things will be enabled by default. Of course, if you need to use other orm, such as beatlsql, you need to configure the relevant ...
Posted by adriaan on Sun, 22 Dec 2019 18:24:06 +0100