nacos as the configuration center of the project
This project is built by using spring cloud. You need to pay attention to the version when integrating with nacos. Otherwise, you may refresh the configuration when you restart the project, and it cannot be hot updated. The following is the version map:
First of all, Download Nacos server, and don't attach the project address of github her ...
Posted by nickdd on Sun, 20 Oct 2019 07:00:45 +0200
Spring-boot hot deployment + spring loader plug-in or devtools tools
Spring-boot hot deploymentWay 1 Spring loader plug-in:
1. Adding Dependency on pom.xml to New maven Project
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven- ...
Posted by kid85 on Tue, 08 Oct 2019 15:59:09 +0200
File upload service through Fastdfs (unified processing of files and pictures)
1. Simple flow chart for file upload:
2. Introduction of Fastdfs:
Fastdfs consists of two roles:
Tracker: Scheduling (to help you find a free Storage)
Storage: File storage (to help you save files or get the files you need)
Process:
Storage and tracker send heartbeat connections.
2. Client requests tracker,tracker dispatches a Stor ...
Posted by Clarkey_Boy on Sun, 06 Oct 2019 08:02:11 +0200
Eureka Actual Warfare-2 [Building Multi Zone Eureka Server]
Public dependence in engineering pom
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud.version>Finchley.REL ...
Posted by badal on Sat, 05 Oct 2019 22:04:58 +0200
Java WebSocketClient Does Local Data Receiving and Processing Service Program
Client is the basic class
WebSocketClientTest is the main method entry.
maven address, other packages may need to be screenshots, etc.
<dependency>
<groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId>
<version>1.3.0</version>
&l ...
Posted by MikeyNoedel on Thu, 03 Oct 2019 13:22:07 +0200
Java Agent-based Full Link Monitoring Three ByteBuddy Operational Monitoring Method Bytecode
Chapter list: pay attention to the public address, bugstack wormhole stack, reply to < JavaAgent based full link monitoring > get source code.
Java Agent-based full-link monitoring JavaAgent "
Java Agent-based Full Link Monitoring II "Increasing Monitoring Execution Time by Bytecode&quo ...
Posted by Malkavbug on Wed, 02 Oct 2019 18:45:12 +0200
Spring Cloud Ribbon configuration
Ribbon Load Balancing
Ribbon is a load balancer released by Netflix. Spring Cloud Ribbon is a load balancing solution. It is based on Netflix Ribbon and is a load balancing client for controlling HTTP requests.
After registering Ribbon in the registry, Ribbon can automatically help service consumers c ...
Posted by nicky77uk1 on Wed, 02 Oct 2019 06:05:20 +0200
Audit Log Plug-in - hanboAudit
hanboAudit is a log embedded plug-in, based on interceptor implementation, currently compatible with persistence layer frameworks such as mybatis and hibernate.
Plug-in function
Record the value of operator, menu, module, function and database before and after row level operation, mostly for audit log display.
Plug-in usage
Adding ma ...
Posted by echoindia756 on Tue, 01 Oct 2019 00:12:06 +0200
Spring Boot configuration file
Article Navigation-readme
Red Dust Novel Network https://wap.zuxs.net/
Configuring Spring Boot Hot Deployment
The development of technology is always because people want to be lazy. If we don't want to change the code every time, we have to restart the server and run the code again. Then you can ...
Posted by mcirl2 on Thu, 26 Sep 2019 07:13:45 +0200
Complete Building Tutorial for Spring Boot + Mybatis Multimode (module) Project
I. Preface
Recently, the company's project is ready to start refactoring. The framework is chosen as SpringBoot+Mybatis. This article mainly records the process of building SpringBoot multi-module project in IDEA.
1. Development Tools and System Environment
IDE: IntelliJ IDEA 2018.2
System ...
Posted by tbeinc on Mon, 23 Sep 2019 07:33:00 +0200