The primary part of TKCORE framework learning -- a preliminary introduction to TableResolver
A preliminary introduction to TableResolver
The functions introduced in the introduction can be realized only by configuring XML, which is very convenient. However, in the actual project, the situation will be more flexible and changeable, which can not be covered only through configuration. From the beginning, we will introduce how to extend ...
Added by slimboy007 on Tue, 08 Mar 2022 09:28:11 +0200
Learn the principle of elasticsearch. Elasticsearch is built in centos
1, Stand alone installation
1.1 elasticsearch and kibana
There are three ways to install es and kibana: yum, rpm, tar gz The latter two methods can be used in the Intranet environment when yum needs to open the external network.
1.1.1 es installation
How we install rpm this time:
Download the rpm file and upload it to the server, and ins ...
Added by scuba on Tue, 08 Mar 2022 09:06:30 +0200
Netty authoritative guide Http protocol development
3.1 Http protocol development
3.1.1 basic knowledge
HTTP (Hypertext Transfer Protocol) protocol is an application layer protocol based on TCP transmission protocol. Its development is the result of the cooperation between the World Wide Web association and the Internet working group IETF. HTTP is an object-oriented protocol belonging to t ...
Added by dennismonsewicz on Tue, 08 Mar 2022 09:03:56 +0200
SpringBoot integrates JWT to implement token verification
Actual combat: can you use SpringBoot to integrate JWT to realize token verification?
Yesterday
Author: stream of consciousness
Source: www.jianshu.com com/p/e88d3f8151db
JWT official website: https://jwt.io
GitHub address of JWT(Java version): https://github.com/jwtk/jjwt
#What is JWT
Json web token (JWT) is a JSON based open ...
Added by vijayanand on Tue, 08 Mar 2022 08:20:26 +0200
Detailed explanation of agent mode and dynamic agent
proxy pattern
Proxy pattern is a structural design pattern that allows you to provide alternatives to objects or placeholders for them. The agent controls access to the original object and allows some processing before and after the request is submitted to the object.
Agent mode structure
The service interface declares the functions provid ...
Added by nivek9991 on Tue, 08 Mar 2022 08:03:53 +0200
The new SpringBoot tutorial of the required framework (Part 2)
Personal profile
The author is a junior from Heyuan. The following notes are some shallow experience of the author's self-study road. If there are mistakes, please correct them. In the future, we will continue to improve our notes to help more Java lovers get started.
SpringBoot+JDBC
1. Import JDBC and mysql dependencies
In POM XML import t ...
Added by jredwilli on Tue, 08 Mar 2022 07:59:29 +0200
[2w word dry goods] the difference between ArrayList and LinkedList and the underlying implementation in JDK11
1 Overview
This article mainly describes the similarities and differences between ArrayList and LinkedList, as well as their underlying implementation environment (OpenJDK 11.0.10).
2 difference between the two
Before introducing the underlying implementation of the two in detail, let's take a brief look at the similarities and differences b ...
Added by speedyslow on Tue, 08 Mar 2022 07:31:21 +0200
Review of basic knowledge of Java-01
How Java works:
Write source code - > compile by compiler - > output - > JVM (Java virtual machine, that is, Java environment) reads and executes the output content Circular statement:
data type
typeNumber of byteslengthbyte1-128~127short 2-32768~32767int 4-2147483648~2147483647long 8-9223372036854775808L~9223372036854775807Lfloat4+ ...
Added by daeken on Tue, 08 Mar 2022 07:24:56 +0200
On unit testing
What's the use of unit testing
Improve the work efficiency of the whole team.
Quality code is a contribution to the whole team
Improve the programmer's sense of responsibility and code quality.
Through unit testing, ensure that your code is reliable and complete, which is responsible for yourself and the team
Get a regression test tool for ...
Added by techker on Tue, 08 Mar 2022 07:07:07 +0200
How does Dubbo service check parameters gracefully
1, BackgroundWhen the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces such a problem, that is, how to gracefully solve the verification of various interface parameters?In the early days, when making the HTTP interface provided ...
Added by w4designs on Tue, 08 Mar 2022 06:48:55 +0200