Installation and use of Java development artifact Lombok

install Lombok installation is divided into two parts: the installation of Idea plug-in and the import of pom file in maven. Installation of Idea plug-in Click settings, select plug-ins, search Lombok (Networking required) in the plug-in configuration of Idea or download local installation on the official website, and click initialize in ...

Added by emceej on Tue, 22 Feb 2022 14:46:03 +0200

[ruoyi Vue plus] learning note 15 - adding queue data to Redisson Delayed Queue (Redisson source code + Lua script)

preface During this time, I was making up the video of Spring Cloud, which was originally intended to prepare for learning [ruoyi cloud plus]. Then I was urged by the lion leader in the group today (covering my face). The leader said that we can analyze the new function of [ruoyi Vue plus] version 4.0, Redisson distributed queue. In fact, ...

Added by SapAuthor on Tue, 22 Feb 2022 13:27:39 +0200

[springboot2.1.x @Scheduled timer, asynchronous start]

1. Scheduled task A program executed at a specified time. Usage scenario Data analysisData cleaningSystem service monitoring 2. Synchronous and asynchronous Synchronous call The program is executed in sequence according to the code sequence, and each line of program must wait for the execution of the previous line of program before executi ...

Added by dsainteclaire on Tue, 22 Feb 2022 11:55:59 +0200

[introduction to actual combat] practical course of CRM project -- CRM project based on SSM framework

This article is mainly to build some structures of the project, complete the necessary packages, resources and configuration files, and configure the server to see if there is a problem. Now let's study together!1. Use maven to build the projectAdd the dependencies we need in the pom file, including spring MVC, spring and mybatis, jackson depen ...

Added by robb73 on Tue, 22 Feb 2022 10:49:24 +0200

SPI implementation project pluggable use project additional components practice

Recently, there is a project that needs to store file content. Customers do not use the default object storage of the product, and the product does not want to integrate customized code into the product. Therefore, it needs to be designed as a pluggable plug-in to contact SPI and SpringBoot Starter for the first time. The two are very similar a ...

Added by SoN9ne on Tue, 22 Feb 2022 09:32:16 +0200

Spring Security is about to discard the WebSecurityConfigurerAdapter configuration class

Anyone who has used WebSecurityConfigurerAdapter knows that it is very important for Spring Security and is in charge of the configuration system of Spring Security. But this class will be abolished soon. You are right. This class will be marked by @ Deprecated in version 5.7. This class will be removed in the future.In this regard, netizens sh ...

Added by jswinkelman on Tue, 22 Feb 2022 08:48:10 +0200

Arthas command parsing (watch/tt/sc)

Arthas It is an open-source Java diagnostic tool of Alibaba. Arthas supports JDK 6 +, Linux/Mac/Windows, adopts command-line interaction mode, and provides rich Tab automatic completion functions to further facilitate problem location and diagnosis. Arthas 3.0 uses OGNL expression evaluation library. See OGNL expression official website ...

Added by hasitha on Tue, 22 Feb 2022 06:48:10 +0200

Detailed explanation of CopyOnWriteArrayList in java

brief introductionCopyOnWriteArrayList is a thread safe version of ArrayList. It is also implemented internally through arrays. Each time the array is modified, a new array is completely copied to modify it. After modification, the old array is replaced. In this way, only write operations are blocked, read operations are not blocked, and read-w ...

Added by slak on Tue, 22 Feb 2022 03:02:46 +0200

Java Programming Network Programming TCP Programming

Java Programming Network Programming TCP Programming Complete the development of TCP programs using Socket s Use this class to easily establish a reliable, two-way, continuous, point-to-point communication connection In Socket development, the server side uses ServerSocket to wait for the client to connect. For Java network programs, each cl ...

Added by markjia on Mon, 21 Feb 2022 19:42:41 +0200

Learn Java from scratch--day05--Arrays

array 1. Array concept Array: A fixed container for storing multiple elements of the same data type in a program. Prerequisites for arrays (characteristics): 1. Once the array is initialized, its length is fixed; 2. The elements in an array must be of the same data type in memory; 3. The number of elements in the array must be multiple; ...

Added by dirkbonenkamp on Mon, 21 Feb 2022 19:41:24 +0200