quartz integrates spring boot to realize CRUD details operation of dynamic configuration task

quartz integrates spring boot to realize CRUD details operation of dynamic configuration task Article directory quartz integrates spring boot to realize CRUD details operation of dynamic configuration task 1, Introduction to quartz Quartz API 2, quartz integrates spring boot to realize CRUD of dyna ...

Posted on Sat, 22 Feb 2020 01:08:44 -0800 by ajcether

Sharding JDBC distributed primary key

In the traditional enterprise software development, the technology of automatic generation of primary key is the basic requirement. Each database provides corresponding support for the requirement of the self-increasing primary key, such as MySQL's self-increasing key. For MySQL, it is very troublesome for different databases and tables to gene ...

Posted on Thu, 20 Feb 2020 04:01:56 -0800 by pleisar

A brief look at the principle of ThreadPoolExecutor

The function of thread pool is not to say much, but to solve two kinds of problems: first, when a large number of asynchronous tasks are executed, thread pool can provide better performance; when not using thread pool, whenever asynchronous tasks need to be executed, a thread needs to be executed directly, and the creation and destruction of th ...

Posted on Sat, 15 Feb 2020 05:45:50 -0800 by zipp

java implementation of user registration mailbox activation verification

Function: register the account through the email, and send the activation email to the email if the registration is successful. Prompt the user to log in the email for account activation before using the account. Process: essentially, add a piece of data to the user table, and there should be a code f ...

Posted on Thu, 13 Feb 2020 09:06:53 -0800 by Lenbot

Spring Boot2.X requests logs using the AOP print interface

Spring Boot requests logs using the AOP print interface The two main features of Spring, IOC (Automatic Injection) and AOP (Face Oriented), are the special features of AOP Face Oriented. When users access the system, they print the corresponding request logs according to the control layer methods they ...

Posted on Wed, 05 Feb 2020 18:47:00 -0800 by ddrummond

Using AOP to realize operation logging in spring boot application

elicit questions In the web application development, it is necessary to record the user's operation log. Next, we will introduce how to use AOP to realize the operation log recording. This article uses Lombok. Students who don't understand it are advised to understand it Introducing dependency First ...

Posted on Mon, 20 Jan 2020 06:06:44 -0800 by leenoble_uk

Rethinking Lambda expression

I wrote about Lambda expression article Recently, I looked back and found that I was not very satisfied. I thought about it again and wrote a new one. In this paper, we refer to the Java 8 actual combat by Raoul Gabriel urma, Mario Fusco, Alan Mycroft Day one: the product manager comes to you and says ...

Posted on Sat, 18 Jan 2020 22:45:53 -0800 by JacobYaYa

Design mode 4 - builder mode

Definition The builder pattern is to separate the construction of a complex object from its representation, so that the same construction process can create different representations. Users only need to specify the type to be built to create them. The creation process and details do not need to be kn ...

Posted on Sat, 18 Jan 2020 04:07:13 -0800 by Kondie

Spring boot integrates Swagger2

In team development, a good API document can not only reduce a lot of communication costs, but also help a new person to start business quickly. Traditionally, developers create a RESTful API document to record all interface details and pass them on from one programmer to another. This approach has the ...

Posted on Thu, 16 Jan 2020 21:50:54 -0800 by fellow21

23 design modes: agent mode

Catalog 1. Concepts 2. Program examples 2.1 Wizards 2.2 Tower Interface 2.3 Ivory Tower Implementation Class 2.4 Ivory Tower Proxy Class (equivalent to example gatekeeper) 2.5 Client Caller 2.6 Results Printing 2.7. Summary 3.jdk Dynamic Proxy Mode 3.1 InvocationHandler interface 3.2 Proxy Class 3 ...

Posted on Tue, 14 Jan 2020 17:07:13 -0800 by thewitt