Java project source code - Spring cloud + vue + oAuth2.0 build enterprise level micro service project
preface:
spring cloud + vue + oAuth2.0 family bucket actual combat, front and rear end separated simulation mall, complete shopping process and back-end operation platform, which can quickly build enterprise level micro service projects. Support wechat login and other three-party login.
Spring Cloud combat project
Project introducti ...
Added by kernelgpf on Thu, 14 Oct 2021 07:49:31 +0300
[Spring technology practice] @ Async mechanism usage skills and asynchronous annotation source code analysis
Premise background
To enable asynchronous tasks:
Add @ Async annotation to method @ EnableAsync on startup class or configuration class
@EnableAsync
Source code comments
Enables Spring's asynchronous method execution capability, similar to functionality found in Spring's XML namespace.To be used together with @Configuration cla ...
Added by Leviathan on Wed, 13 Oct 2021 02:24:38 +0300
[learning notes] MyBatis learning notes
This paper is a dynamic node MyBatis tutorial My study notes.
Chapter I
1. Three tier architecture
(1) Functions of three layers
User Interface Layer: accepts user data and displays the processing results of requests, including jsp, html, servlet, etc. Corresponding controller package; Business Logic Layer: accept the data passed from the ...
Added by hazy on Tue, 12 Oct 2021 10:26:43 +0300
Challenge the most complete workflow document in the whole network, and take you to master all business concepts of flowable workflow
1. What is workflow approval
According to my understanding, it is approval process management.
2. What is flowable
1. Official interpretation
The official explanation is as follows:
The Flowable project provides a core set of open source business process engines that are compact and efficient. They provide a workflow and business proces ...
Added by wildmalc on Tue, 12 Oct 2021 04:17:43 +0300
Sharding JDBC quick start
preface
Requirement description
Use sharding JDBC to complete the horizontal division of the order table, and quickly experience the use method of sharding JDBC through the development of quick start program.
Create two tables manually, t_order_1 and t_order_2. These two tables are the tables after splitting the order table. Insert d ...
Added by Mateobus on Tue, 12 Oct 2021 00:25:32 +0300
[SpringBoot learning notes 7] SpringBoot customizes and integrates JDBC Druid mybatis data source configuration
The previous blogs have studied the principles and practical tips of SpringBoot. The next few blogs, I would like to call it the integration of all layers of SpringBoot to deal with the complete development task, nothing more than the integration of database and persistence layer and the customized integration of Spring MVC. Today's Blog will i ...
Added by slionheart on Sun, 10 Oct 2021 16:03:41 +0300
The development of JAVA log and the use of springboot log
1, Introduce the history of log development
jdk1.3 System.out.println("") tracing It can only be used for debugging when writing code. After online deployment, it is difficult to locate the problem and find the problem. System.out.println("") will only print logs on the console. After the logs are overstocked, the historica ...
Added by FeeBle on Sun, 10 Oct 2021 09:15:33 +0300
File download of spring MVC framework
File download of spring MVC framework
There are two ways to download files, one is to download through hyperlinks, and the other is to download by program coding. It is simple to download through hyperlink, but it is easy to expose the real location of the downloaded files, and only the files stored in the directory where the Web application i ...
Added by climbjm on Thu, 07 Oct 2021 05:01:22 +0300
spring Notes
Spring
Introduction
Boot: conventions are larger than configurations, boot allows rapid development of individual microservices cloud: boot-based
I. IOC
1.1 Control Inversion
IOC Control Reverse
Control: Objects are no longer programmed to new newer, but handed over to spring Reverse: Instead of creating objects, the program itself become ...
Added by hyperyoga on Wed, 06 Oct 2021 20:42:21 +0300
web development in spring boot
spring boot configures spring mvc almost entirely automatically, so it doesn't need to be configured by users at all, but it can also be configured by itself. For example, static resources, content negotiation, attempted parsers, site icons, data binders, welcome pages, and so on, are automatically registered.
1. Static Resources and Access
C ...
Added by mayus on Wed, 06 Oct 2021 19:17:21 +0300