Tomcat deploys multiple war packages
1 Background
System: Window Server.
Installed JDK 1.8-u181 (JRE is enough, but I have the JDK installation package in hand, why not go down) and Tomcat 8.5.53.
Once installed, the environment variable is configured with JAVA_HOME, Path.JRE, no JDK.
To publish two war packages, MES and ERP.
2 Install Tomcat
I used the.exe file installation witho ...
Posted by mike97gt on Wed, 15 Apr 2020 04:05:01 +0200
Timed call in java code
(1) There are three methods of timing call in java code:
Method 1: use thread
Create a thread and keep it running in the while loop. Use the sleep method to achieve the effect of timing tasks. The code is as follows:
public static void main(String[] args) {
final long timeInterval = 1000;
Runnable runnable = ...
Posted by dancer on Mon, 13 Apr 2020 18:23:11 +0200
Analysis of distributed heartbeat detection module of DBLE
Author: Lu Lu
Those who love technology and are willing to share are mainly engaged in the research of database related technology.
Source: original contribution
*Aikesheng is produced by the open source community. The original content cannot be used without authorization. Please contact the editor for reprint and indicate the source.
Summ ...
Posted by SystemOverload on Wed, 08 Apr 2020 11:24:57 +0200
springboot uses logback to generate log files by date and size
Change from: https://www.ericgg.com/archives/3848.html
The default log files of springboot will not be automatically divided by day, so the log files of the production environment are getting larger and larger, which is not conducive to troubleshooting. After checking a lot of data, the final configuration is as follows. The log files can be d ...
Posted by jklanka on Mon, 06 Apr 2020 10:22:10 +0200
Drag,drag,drag! Pull out the Bili Bili side navigation component
I. Preface
This article mainly talks about the side navigation and drag components of bleblebleblebler in a macro form, which is very suitable for you who are learning VUE gradually. A proper imitation development project is a necessary skill for front-end learning. Most people know that the interview needs to have their own works, and th ...
Posted by brauchi on Mon, 06 Apr 2020 10:11:53 +0200
Android solves the overlapping problem of Fragment using replace method
Android solves the overlapping problem of Fragment using replace method
Today, when using Fragment for replace switching, I found that there was no response:The layout is like this
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
...
Posted by mgason on Mon, 06 Apr 2020 05:46:04 +0200
Using third-party JSON framework for getting started with Spring Boot
Note summaries
This paper takes Spring Boot using fastjson instead of the original JSON framework as an example to show how Spring Boot uses the third-party JSON framework.
Spring Boot uses custom JSON framework methods
Method 1
Introducing dependency into pom.xml;
Inherit WebMvcConfigurerAdapter from the App ...
Posted by e39m5 on Sun, 05 Apr 2020 10:22:39 +0200
Android data storage - shared perences
SharedPerences
Storage mode: key value pair
Store data in SharedPreferences
Step:
Call the edit() method of the SharedPerences object to get a SharedPerences.Editor object.
Add data to sharedperence.editor.
Call the commit() method to commit the added data.
In the click event:
SharedPreferences.Editor editor = ...
Posted by suneel on Sat, 04 Apr 2020 04:32:14 +0200
MySQL read write separation + sub database and sub table - Mycat
Demand:
The user instance SERV is divided into different databases according to the org? ID
Agreement:
Beijing (ORG UU id = 101), Shanghai (ORG UU id = 102), Shenzhen (ORG UU id = 103), Chongqing (ORG UU id = 104), Sichuan (ORG UU id = 105)
Beijing bjdb, Shanghai shdb, Shenzhen szdb and Chongqing cqdb are built on dn10 and dn11
Sichuan scd ...
Posted by DragonHighLord on Sat, 04 Apr 2020 02:55:03 +0200
Android Pickerview selector
1. overview
I remember that when I was working on the mall project, I needed to realize the three-level linkage between the province and the city in the address selection to facilitate the user to fill in the address quickly. At that time, I used an open-source control called Android wheel, which felt very easy to use. The onl ...
Posted by vikela on Fri, 03 Apr 2020 23:46:27 +0200