Spring boot 15, add Activiti5.22 workflow online editor
The online editor can be directly referenced, Spring MVC integration activiti-explorer 5.22 (1) Steps 2, 3, and 4 in, and Spring MVC integration activiti-explorer 5.22 (2) The configuration and basic integration of spring boot are basically completed. Let's recap what needs to be modified in spring boot
1. Modify ModelSaveRestResource.java cla ...
Posted by stuartshields on Sat, 30 Nov 2019 23:16:52 +0100
Okhttp interceptor realizes soft load
problem
Okhttp Client needs to access the interface between different server ip.
thinking
In the interceptor, if the interface service is found to be unavailable, replace the standby ip service address and access the background interface again.
Interceptor
package com.zyl.interceptor;
import okhttp3.Interceptor;
import okhttp3.Request;
import ...
Posted by NewbieBryan on Sat, 30 Nov 2019 18:15:09 +0100
apache, nginx configure openssl self signing certificate
1. Generate private key
Generate rsa private key, des3 algorithm, 2048 bit strength. server.key is the file name of the secret key. You need to provide a password of at least 4 digits.
[root@localhost ~]# openssl genrsa -des3 -out server.key 2048
Generating RSA private key, 2048 bit long modulus
................................................ ...
Posted by beginPHP on Sat, 30 Nov 2019 06:05:48 +0100
RocketMQ quick start
How to use
1. Introduce rocketmq client
<dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-client</artifactId> <version>4.1.0-incubating</version> </dependency>
2. Write Producer
DefaultMQProducer producer = new DefaultMQProducer("producer_demo"); //Specify the Name ...
Posted by latvaustin on Fri, 29 Nov 2019 17:02:05 +0100
JDBC data source of spark SQL
JDBC data source
Spark SQL supports reading data from relational databases (such as MySQL) using JDBC. The read data, still represented by DataFrame, can be easily processed using various operators provided by Spark Core.
Created by:
To connect Mysql during query:
It is very useful to use Spark SQL to process dat ...
Posted by Jeroen_nld on Thu, 28 Nov 2019 21:47:37 +0100
javadoc generated by maven
1. Disorderly code
2 custom label
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven_javadoc_version}</version> <configuration> <aggregate>true</aggregate> <tags> & ...
Posted by void_function on Tue, 26 Nov 2019 21:35:05 +0100
maven creates spring boot project
There are several ways to create a spring boot project with maven. Using spring boot starter parent and spring boot dependencies, you can also use two ways to create a spring cloud project. It is recommended to use dependency management and use IDEA to create a spring boot project directly!
I. using spring boot starter parent
<! ...
Posted by outpost on Mon, 25 Nov 2019 21:39:30 +0100
Axis2 distributes WebService (server and client) I
Although POJO and aar can publish WebService, they are not the most commonly used methods.
The common methods are as follows
Server side
1. Create a web Project (New - > other - > Web - > dynamic web Project)
2. Copy the jar package in axis2-1.7.9\lib to WebContent/WEB-INF/lib /
3. Create services folder under Web ...
Posted by mkoga on Mon, 25 Nov 2019 17:52:58 +0100
Spring Cloud Admin practice
Spring Cloud Admin
brief introduction
Spring Boot Admin is used to monitor applications based on Spring Boot. It provides a simple and Visual WEB UI based on Spring Boot activator. Spring Boot Admin provides many functions, such as displaying name, id and version, displaying online status, Loggers' log level management, Threads thread managemen ...
Posted by CONFUSIONUK on Sun, 24 Nov 2019 20:29:39 +0100
Flink source reading TaskManager
brief introduction
Through the previous analysis, we can know that the entry of taskManager is org.apache.flick.runtime.taskexecutor.taskmanagerrunner class, and the comments on the class also indicate this.
This class is the executable entry point for the task manager in yarn or standalone mode.It constructs the related comp ...
Posted by seontay on Sun, 24 Nov 2019 17:57:39 +0100