Java business verification tool implementation (sequel)

1, Background In the previous article, I shared my own implementation of Java business verification tool Java business verification tool implementation , in line with the principle of "don't build wheels repeatedly", there are really like-minded friends who have achieved the same functional framework in online search fluent-validator. ...

Posted by freejellyfish on Sun, 28 Jun 2020 06:05:12 +0200

Why the jar of springboot can run independently

Welcome to my GitHub https://github.com/zq2599/blog_demos Content: all original articles are classified, summarized and matched source code, including Java, Docker, Kubernetes, DevOPS, etc; jar files that can run independently When developing spring boot applications, it is a common way to start app ...

Posted by php.ajax.coder on Sun, 28 Jun 2020 04:08:50 +0200

A thorough understanding of Bean analysis, creation, and use in Spring

Spring Loads Beans, Instantiates Beans, Gets Bean Processes The purpose of this paper is to analyze the process of Spring loading beans, instantiating beans, and getting beans by analyzing the source code. Some of the core content will be explained in the source code.Content is dull, careful! Step one, start a Spring project Spring Startup ...

Posted by fusionpixel on Sun, 28 Jun 2020 02:23:28 +0200

Cardinality sorting (Java)

Cardinality sorting (Java) Blog description The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! Introduction to cardinality sort (bucket sort) radix sort belongs to distribution s ...

Posted by eagleweb on Sat, 27 Jun 2020 11:09:37 +0200

RocketMQ dead letter queue | how to deal with the exception of the consumer?

stay RocketMQ repeated consumption problem | the introduction of idempotent mechanism into the core process of order system In this paper, we discuss the problem of repeated message consumption. A better solution is to use business judgment on the consumption side to ensure the idempotence of the interface, so as to avoid the problem of repeate ...

Posted by GaryE on Sat, 27 Jun 2020 10:41:09 +0200

Loading of spring IOC beans

preface This series is based on Spring 5.2.2.BUILD-SNAPSHOT. Because the whole system of Spring is too large, only the source code of key parts will be parsed. This article mainly introduces how the Spring IoC container loads bean s. text Let's take a look first Loading and registration of Spring IoC BeanDefinition To obtain the bean insta ...

Posted by nels on Sat, 27 Jun 2020 07:22:57 +0200

[Distributed Lock] 03-Redisson for RedLock principles

Preface You've learned the principles of Redission reentrant locks and fair locks before, and then you'll see how Redission implements RedLock. RedLock principle RedLock is a redis-based distributed lock that guarantees the following features: Mutual exclusion: At any time, only one client can hold a lock; avoid deadlocks: When the clie ...

Posted by Shendemiar on Sat, 27 Jun 2020 02:29:15 +0200

[Java foundation] multithreading

1. Multithreading 1.1 concurrent and parallel Concurrent: two or more events occur in the same time period Parallel: two or more events occur at the same time 1.2 threads and processes A process is an execution process of a program. A process is the basic unit for the system to run an applicati ...

Posted by Spinicrus on Fri, 26 Jun 2020 05:05:57 +0200

Reconstruction of JAVA chat room -- a simple framework of CS mode

preface Since the beginning of data mining, I haven't written blog about technology for a long time. Recently, school JAVA The course design requires to realize a chat room. I think I wrote one last year, but I didn't realize some of the required functions, but looking at the original code, it seems that it's a little bit difficult to add func ...

Posted by samvelyano on Fri, 26 Jun 2020 04:17:25 +0200

Aggregation and Dependency of Maven Projects

Aggregation and Dependency of Projects 1 Aggregation When a project is multi-module, how to build multiple modules at once instead of executing Maven commands separately under multiple modules. 1.1 Parent-Child Structure <!--Parent Module netsales-poss In packaging Must be pom--> <packaging>pom</packaging> <!--Parent Modu ...

Posted by Illusion on Thu, 25 Jun 2020 18:31:40 +0200