Based on Forest practice | how to handle request signature more gracefully and uniformly
Forest is an open source Java HTTP client framework. It can bind all HTTP request information (including URL, Header, Body and other information) to your customized Interface method, and send HTTP requests by calling local Interface methods.
This article is based on Forest practice and comes from the actual business scenario requirements. Thr ...
Posted by BLaZuRE on Mon, 08 Nov 2021 02:15:23 -0800
Concurrent Programming Notes
Content overview
What is multithreading, synchronous asynchronous concept, thread safety (synchronization between threads), communication between threads, JDK1.8 parallel contracting, thread pool principle analysis, lock 1. Thread: an execution path that does not interfere with each other. It is divided into user thread and daemon thread. ...
Posted by spaceknop on Mon, 08 Nov 2021 02:08:46 -0800
ssm integration notes
5. Spring MVC integrates Mybatis
5.1 start
1. Create database
2. Create a normal maven project and add a web service
3. Import package (pom.xml)
4. Connect to the database
5. Create directory structure
6. Configure all xml files
7.pojo entity class
8. Database operation of Dao layer (two files, file name: bookMapper (Interface) bookMap ...
Posted by zulfer on Mon, 08 Nov 2021 02:06:30 -0800
Batch replace string specified in MarkDown document
Batch replace string specified in MarkDown document
preface
Recently, I bought a new computer. It took almost a weekend to upgrade various configurations. At the same time, I want to import the previous blog documents. Because the blog documents are written in Typora, and the pictures are also stored locally. After the picture path change ...
Posted by Chesso on Mon, 08 Nov 2021 00:07:45 -0800
Love, this summary of Java Concurrent Programming technology is too detailed
preface
Concurrent programming technology is an important knowledge point in Java. How much do you know about the following?
Overview of process, thread and collaboration relationship
Process: in essence, it is an independently executed program. Process is the basic concept of resource allocation and scheduling by the operating system. T ...
Posted by guarriman on Sun, 07 Nov 2021 23:42:17 -0800
Spring Boot implements code scanning login.
This way to achieve code scanning login is too sweet!!!
If you need more tutorials, just scan the code on wechat
1, First you need a table
Record who scanned the code. Who logged in.
User_Token table
The fields are as follows:
uuid: used to ensure uniqueness userId: who logged in loginTime: login time createTime: the c ...
Posted by steviewdr on Sun, 07 Nov 2021 23:28:22 -0800
JQuery in the second phase of java
1, Introduction to JQuery
(1) Introduction
JQuery is a fast and concise JavaScript framework. The purpose of jQuery design is "write Less, Do More", which advocates writing less code and doing more things. It encapsulates the common functional code of JavaScript, provides a simple Jav ...
Posted by agisthos on Sun, 07 Nov 2021 23:18:01 -0800
[algorithm] sword finger Offer II 054. Sum of all values greater than or equal to nodes | 538 | 1038 (Multilingual Implementation)
Thank you very much for reading this article~ Welcome[ 👍 [like][ ⭐ Collection][ 📝 [comments]~ It's not hard to give up, but it must be cool to insist~ I hope all of us can make a little progress every day~ This paper consists of White hat of the second leader: https://le-yi.blog.csdn.net/ Blog originality~
Sword finger Offer II 05 ...
Posted by dthomas31uk on Sun, 07 Nov 2021 20:59:32 -0800
Summary of Java multithreading Basics
< ------------------------------------------------------ Liao Xuefeng learns Java ---------------------------------------- >
1. Multithreading Basics
The computer calls a task a process, the browser is a process, and the video player is another process. Similarly, both the music player and Word are processesSubtasks in a process are ...
Posted by amalosoul on Sun, 07 Nov 2021 20:18:43 -0800
JAVA branch structure switch structure for loop
1 branch structure
Although the program with sequential structure can solve the problems of calculation and output But you can't judge and choose. For the problem of making judgment before selection, we should use the branch structure
1.2 form
1.3.1 exercise: Commodity discount cases
Create package: cn.tedu.basic Create class: TestDiscoun ...
Posted by kristianblom on Sun, 07 Nov 2021 18:51:47 -0800