Using the XXL job spring boot starter to develop the XXL job executor

Sketch This article briefly describes how to use the XXL job spring boot starter to develop the executor service of the XXL job. Development steps Add dependency Create a Spring Boot project Add warehouse configuration <repositories> <repository> <id>centychen-private-repo</id> <url&g ...

Posted on Wed, 13 Nov 2019 14:24:04 -0500 by cosminb

tomcat deployment installation

tomcat Tomcat learning environment construction: Deploying the JDK java development kit java development environment Deploying Tomcat LNMP deployment WordPress lnmt jpress (java wordpress) Tomcat runs java programs LNMP Linux Nginx MySQL PHP running PHP program code Nginx static Nginx dynamic fastcgi_pass (PHP) LNMT Linu ...

Posted on Wed, 13 Nov 2019 14:16:15 -0500 by capbiker

Reflection and dynamic instancing

reflex Personal understanding: in our object-oriented programming, sometimes we need to operate on the class object, and need to identify the object and class information, so Java provides us with two ways: the first is the traditional RTTI, which assumes that we already know all the type information at compile time; the othe ...

Posted on Wed, 13 Nov 2019 11:33:05 -0500 by mattyj10

Spring Boot 2.X: use and configuration of Spring Boot Actuator for application monitoring

About activator Activator is the self-examination and monitoring function of the application system provided by Spring Boot. Through the activator, we can use the data indicators to measure the operation of the application, such as checking the disk, memory, CPU and other information of the server, the thread, gc, running status of the system, ...

Posted on Wed, 13 Nov 2019 04:59:22 -0500 by Kifebear

springboot implements https access

Skip the steps to create a springboot project Open the command window and enter the following command C:\Users\Administrator>keytool -genkey -alias tomcat -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 Enter as prompted After completion, there will be a keystore.p12 file in the C:UsersAdministrator direct ...

Posted on Tue, 12 Nov 2019 16:21:38 -0500 by sawade

SpringBoot configures HTTPS and implements automatic HTTPS access to HTTPS

nginx is recommended for configuring https No further replies will be given to any questions raised in this article. Here's why I wrote this article, because I'm also a beginner in SpringBoot. I encountered some pits when configuring https. According to the way I configure it on the Internet, I found some classes are obsolete. Here's just a r ...

Posted on Sun, 10 Nov 2019 20:07:59 -0500 by depojones

Spring boot disable insecure request method of built-in Tomcat

Cause: the security group needs to turn off the insecure request methods, such as put, delete and other methods, to prevent the server resources from being tampered with maliciously. You know that you can use @ PostMapping, @ GetMapping and other annotations to define a single interface method type, or you can specify ...

Posted on Sat, 09 Nov 2019 15:44:37 -0500 by Crashin

Principle Analysis of Ali Monitoring and Diagnostic Tool Arthas Source Code

Previously, Ali opened its source monitoring and diagnostics tool, Arthas, which is a useful tool for online problem analysis and has received a lot of attention in the short term. It's great that even Java's official Twitter has been forwarded on Twitter. This is what GitHub says: Arthas is an on-line monitoring diagnostic product that can v ...

Posted on Sat, 09 Nov 2019 01:55:38 -0500 by gijs

Sprinboot elegantly configures listening and records all startup events

While reading the Springboot startup source code, we found that the Springboot auto-startup listeners are configured through the uopeizhi file. This article uses the Springboot method to auto-load listeners. Project Dependency <parent> <groupId>org.springframework.boot</groupId> <artifactI ...

Posted on Thu, 07 Nov 2019 09:47:02 -0500 by ajfton

Using python to call pinpoint interface to realize pin alarm

Use python to call the pinpoint interface to implement the pin alarm. 1. When the application monitored on the pinpoint is called incorrectly and the number of errors is more than 5 (you can set the threshold value by yourself, which is 5 by default), the alarm will be triggered. 2. Just change the webhook and PPURL in the script ...

Posted on Tue, 05 Nov 2019 11:08:54 -0500 by cmanhatton