Spring Cloud registration and discovery component eureka uses

Eureka Yes. Netflix Developed, a REST-based component for service registration and discovery It mainly includes two components: Eureka Server and Eureka Client. Eureka Client: A Java client used to simplify interaction with Eureka Server (usually the client and server in microservices) Eureka Server: The ability to provide service registra ...

Added by smpdawg on Mon, 07 Oct 2019 02:45:51 +0300

Eureka Actual Warfare-3 [Supporting Remote Region]

Engineering public pom dependence <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.RELEAS ...

Added by tamayo on Sun, 06 Oct 2019 11:10:21 +0300

Tool class for sending mail in java

Share with you a very useful tool class for sending mail, which is also a tool class I have been using.1. source code public class MailUtils { public static void sendMail(String email, String emailMsg) throws AddressException, MessagingException { // 1. Create a program and mail server session obj ...

Added by algy on Thu, 03 Oct 2019 22:46:14 +0300

Jenkins and GitLab Integrated Automated Testing and Deployment Detailed Tutorial-Building Maven Project

When Jenkins and the services that need to be published are on the same server, you want to copy the Jar package to the specified folder and publish it. Configuration and Jenkins and GitLab Integrated Automated Testing and Deployment Detailed Tutorial - Building Maven Project (1) It's slightly differ ...

Added by vtroubled on Thu, 03 Oct 2019 20:26:21 +0300

Using EasyPoi to export a large amount of data to Excel

Using EasyPoi to export a large amount of data to Excel This project is managed by maven. The dependencies of EasyPoi in the pom file are: <! - easypoi dependence - > The role of easypoi parent package is well known to all. 2.easypoi-annotation basic annotation package, whi ...

Added by dabas on Thu, 03 Oct 2019 12:23:41 +0300

The maven-jar-plugin configuration of Maven's jar package is detailed and the MANIFEST.MF file is automatically generated.

Introduction to maven-jar-plugin configuration Recently, I learned the springboot multi-module jar package deployment project, and used the maven-jar-plugin plug-in. I'll study it carefully. I won't say much nonsense. Look down. The maven plug-in functions: compile, package, deploy... are all in the ${project. build. directory}/ classes file ...

Added by felodiaz on Wed, 02 Oct 2019 14:41:36 +0300

Using mqtt protocol in java

MQTT: MQTT (Message Queuing Telemetry Transport) is a lightweight communication protocol based on publish/subscribe mode, which is built on TCP/IP protocol and published by IBM in 1999. The biggest advantage of MQTT is that it can provide real-time and reliable messaging services for connecting remote d ...

Added by netzverwalter on Tue, 01 Oct 2019 23:26:00 +0300

Springboot outputs PDF files

Preface There's a person (dead demand) running over to tell you, these are all output to me as a report, pdf format, so there's the following one, take notes, later useful directly come to get it. Looking online, we found that everyone is using itext.IText is a well-known open project, a java class library for generating PDF documents. Through ...

Added by desmond_ckl on Wed, 25 Sep 2019 16:06:35 +0300

maven Mode of SSM Framework Construction

MAVEN Download and Installation maven's download address: http://maven.apache.org/download.cgi Path D: java apache-maven-3.6.2 after decompression;Add a new system variable [MAVEN_HOME], and replace the variable name with its own local decompression path Added value of system variable [Path]:%MAVEN_HOME%bin Run cmd and enter mvn v ...

Added by foreverdita on Sat, 21 Sep 2019 18:16:01 +0300

Spring Cloud Learning Notes: Hystrix Dashboard Visual Monitoring Data

brief introduction In the last article, we talked about using Hystrix to implement fault tolerance. In addition, Hystrix provides near real-time monitoring. This article describes how to monitor services and how to use Hystrix Dashboard to graphicalize monitoring data. Project introduction sc-parent, parent module (see Spring Cloud Learning No ...

Added by tenaki on Wed, 18 Sep 2019 14:28:32 +0300