SpringBoot 2.x: manual project creation and automatic project creation
SpringBoot 2.x based on Spring Framework 5.x
The environmental requirements are as follows:
JDK1.8 or above
Maven 3.2 or above
I use Eclipse here. IDEA is a powerful tool, but I'm not used to it
To create a SpringBoot project manually:
Premise: the computer has Maven and JDK installed and configured in Eclipse
Open eclipse - > New ...
Posted by thefisherman on Mon, 18 Nov 2019 11:52:09 -0800
SpringBoot 2.x: use Filter, Servlet, Listener
Use of Filter:
1. Common default filters are:
characterEncodingFilter
hiddenHttpMethodFilter
httpPutFormContentFilter
requestContextFilter
2. Priority of filter:
Ordered.highest'precision: lowest priority, value is int maximum Ordered.low'precision: highest priority, value is int minimum
Low value means higher priority
Therefo ...
Posted by Res on Sat, 16 Nov 2019 10:17:10 -0800
SpringBoot Source Parsing--- Introduction to the core principles of SpringBoot
Overview of Spring Boot
Build Anything with Spring Boot: Spring Boot is the starting point for building all Spring-based applications. Spring Boot is designed to get you up and running as quickly as possible, with minimal upfront configuration of Spring.
Here's a quote from the website, which probably means that Spring Boot is the starting po ...
Posted by mightymaster on Wed, 13 Nov 2019 19:46:45 -0800
Docker from entry to drop: building SpringBoot microservices based on docker
This is the second chapter from the introduction to Docker: building SpringBoot microservices based on Docker. You'd better read it before Docker from entry to drop After that, read this article.
In the previous article, I introduced how to deploy some common basic environments based on the docker container, such as MySQL and Redis. In this art ...
Posted by darkside_3k on Tue, 12 Nov 2019 21:40:36 -0800
SpringBoot Series - Integrate Mybatis (XML Configuration)
Catalog
1. What is MyBatis?
2. Integration Mode
3. Actual Warfare
IV. Testing
This article describes how SpringBoot integrates Mybatis (XML configuration).
1. What is MyBatis?
MyBatis is an excellent persistence layer framework that supports customization of SQL, stored procedures, and adv ...
Posted by pcjeffmac on Mon, 11 Nov 2019 18:42:29 -0800
Java Stream Functional Programming Part 3: Pipeline Flow Result Processing
1. Java Stream Pipeline Data Processing
In the article written before this number, you were introduced to the Java Stream pipeline stream as a java API to simplify the handling of collection class elements.There are three stages in the process of use.Before starting this article, I feel that I still need to introduce these three stages to some ...
Posted by Whitestripes9805 on Mon, 11 Nov 2019 16:42:47 -0800
How do I do parameter checking in Spring/Spring Boot?All you need to know is here!
This article was originally created by the author. If it needs to be reproduced, please apply for opening it at the famous address at the beginning of the article and public number.
springboot-guide : Spring Boot tutorials for beginners and experienced developers (maintenance in spare time is welcome).
The importance of data validation goes b ...
Posted by houssam_ballout on Sun, 10 Nov 2019 16:53:48 -0800
SpringBoot Integrated JWT Implements Permission Authentication
Catalog
1. JWT Certification Process
2. SpringBoot Integration JWT
3. Testing
Last article One Minute to Learn about JWT Certification!" The composition and authentication principle of JWT are introduced. This paper will introduce the process of integrating JWT with SpringBoot to achieve authe ...
Posted by capella07 on Thu, 07 Nov 2019 18:11:25 -0800
axios solves cross-domain problems (Vue3.0)
1. What is cross-domain
1. Cross-domain
Refers to the fact that the browser cannot execute scripts from other websites.It is caused by the browser's homology policy and is a security restriction imposed by the browser on javascript.
2. Homology Policy
The term refers to protocols, domain names, and ports that all have the same. One of these dif ...
Posted by mastercjb on Thu, 07 Nov 2019 05:43:45 -0800
Spring Boot series: Spring Boot asynchronous call @ Async
In actual development, sometimes in order to process the request and respond in time, we may execute multiple tasks at the same time, or process the main task first, that is, asynchronous call. There are many implementations of asynchronous call, such as multithreading, timed task, message queue, etc,
In this chapter, we will talk about @ Async ...
Posted by cdhogan on Wed, 06 Nov 2019 12:50:51 -0800