The article has been included in Github.com/niumoo/JavaNotes , and Java programmers need to master the core knowledge. Welcome to Star and advice.
Welcome to my official account , articles are updated weekly.
As one of the most commonly used collection classes, HashMap needs to be understood in a simple way. This article will go deep into the ...
Added by mediabob on Thu, 11 Jun 2020 06:09:09 +0300
1. Distributed Lock Implementation
2. Distributed Lock Using redis
Problems in the redis cluster state:
Solving distributed locks using redisson
1. Import dependent service-util
2. Configure redisson
Added by dev99 on Wed, 10 Jun 2020 19:17:31 +0300
Classification of 23 design patterns
Definition of Flyweight pattern: using sharing technology to support reuse of a large number of fine-grained objects. It can reduce the number of objects to be created and avoid the cost of a large number of similar classes by sharing the existing o ...
Added by bronzemonkey on Wed, 10 Jun 2020 07:10:32 +0300
The complete code covered in this article: GITEE
Or visit: https://gitee.com/topanda/spring-boot-security-quickly-start/tree/jpanda-spring-boot-security-api/src/main/java/cn/jpanda/demo/manager/configuration/log
It is hard to avoid bugs when you write too much code. As a programmer who has been walking all year, it is not a rare thing to talk ...
Added by deejay1111 on Wed, 10 Jun 2020 06:50:17 +0300
a:Master elections are a very common scenario in distributed systems.In distributed systems, master-slave mode is often used to avoid single point failures and improve the availability of system services.
b: Normally, Master nodes are used to coordinate other system units ...
Added by fredcool on Wed, 10 Jun 2020 04:16:55 +0300
In general, in order to solve a single point of failure, web applications in the production environment will be deployed on multiple platforms, so there will be a problem. When we log in, we will store the login information in the session. If we rely on the session in the native web con ...
Added by mouloud2001 on Tue, 09 Jun 2020 05:20:25 +0300
The date type defined by the background database is Long, which is stored as a time stamp; the date type of the search box on the page is String.The String and Long types of dates are not equal on time stamps!
I show you how to convert date types in my code, and you can understand the difference between debug and timestamp converters.
1. Fi ...
Added by zahadum on Mon, 08 Jun 2020 19:15:00 +0300
Chain of responsibility pattern is a common behavior pattern. It encapsulates the processor into a processing chain, so that the request can be delivered on the chain. The processor on the chain decides whether to process the request or not.
2 responsibility chain mode
A typical usage scenario of responsibility chain mode is when an e ...
Added by Nymphetamine on Sat, 06 Jun 2020 13:17:26 +0300
TOMCAT source code analysis - start
The source version of Tomcat is version 9.0.35 downloaded from the official website.
The configuration file started by Tomcat is server.xml The start-up process is all around it, and the module structure of Tomcat can also be seen ...
Added by anthylon on Sat, 06 Jun 2020 09:05:19 +0300
After reading this article, you will get
In the getBean method, Spring handles aliases and the name of factoryBean
How Spring gets beans from multi-level cache according to beanName
How Spring deals with getting common beans and factorybeans from users
from Initialization of Spring container In, we learned how Spring convert ...
Added by SirEddie on Sat, 06 Jun 2020 08:47:18 +0300