SpringCloud Zuul+Mysql implements dynamic gateway

Introduction to Zuul Zuul is an open source API Gateway server of netflix. It is essentially a web servlet application. It is also one of the core components of spring cloud. Zuul framework mainly provides dynamic routing, monitoring, elasticity and security services problem Generally speaking, there are two types of Zuul routing 1, Stat ...

Added by russ8 on Fri, 11 Feb 2022 18:39:07 +0200

Chapter 17 Java se special topic object-oriented advanced four - Interface

Interface business scenario: used to formulate standards, global constants and public abstract methods 1. Interface Overview Interface: encapsulate some methods that are not implemented; Subclass implementation interface: all abstract methods of the interface must be implemented rule of grammar interface Interface name{ //1. Attrib ...

Added by davemwohio on Fri, 11 Feb 2022 18:27:43 +0200

Spring Cloud microservice declarative REST client -- Spring Cloud Feign

Spring Cloud microservice series articles Spring Cloud microservice (1) registry and configuration center -- Nacos Spring Cloud microservice (2) microservice Gateway -- Spring Cloud Gateway Spring Cloud microservice (3) declarative REST client -- Spring Cloud Feign preface This paper mainly introduces one of the communication methods betwe ...

Added by wizzkid on Fri, 11 Feb 2022 18:18:43 +0200

Examples of IO stream classification

1, FileInputStream method explain int available() Returns an estimate of the number of bytes that can be read (or skipped) from the input stream without blocking, which may be 0, or 0 when the end of the stream is detected int read() Write a character to the stream int read​(byte[] b) Read multiple bytes into b array int read​(byte[] ...

Added by treppers on Fri, 11 Feb 2022 17:48:36 +0200

Java project: hospital management system (java+Springboot+ssm+mysql+maven)

Source code acquisition: download from "resources" on the blog home page! 1, Project brief Function: the project is a hospital management system written with springboot+layui+shiro. The business of the system is relatively complex. There are 36 tables in the database. The project is divided into outpatient management, inpatient m ...

Added by Seraskier on Fri, 11 Feb 2022 17:35:27 +0200

Java reflection mechanism and Application

Java reflection mechanism and Application 1. Java reflection In the running state, for any class, you can get all the properties and methods of the class, and for any object, you can call any of its methods and properties (including private methods and properties). This dynamically obtained information and the function of dynamically calling ...

Added by linusx007 on Fri, 11 Feb 2022 17:04:04 +0200

SpringBoot+flowable to quickly implement workflow

Overview Use the flowable UI that comes with flowable to make the flow chart Use the interface used by the springboot development process to complete the business functions of the process 1, Deployment and operation of flowable UI flowable-6.6.0 run the official demo Reference documents: https://flowable.com/open-source/docs/bpmn/ch14 ...

Added by dserf on Fri, 11 Feb 2022 16:11:38 +0200

debug the underlying java code, the correct posture of de duplication of data in the list, and compare the correct use method and wrong use of java list remove

preface There are mainly two kinds of data structures in List, one is array and the other is linked List. Array, all of which implement the RandomAccess class Array implementations include ArrayList, Vector, Stack and CopyOnWriteArrayList. They all inherit AbstractList. AbstractList implements some interfaces in the List and traverses the ...

Added by witty on Fri, 11 Feb 2022 15:46:24 +0200

How Macos uses Visual Studio code to connect Mysql with Java

background Beginner Java, read green hand The tutorial of connecting Java to Mysql is missing the process of configuring jar files. Only Windows environment and Linux environment can be downloaded For novices, I'm very confused, so record it If you have the same environment as me, I hope you can help Use environment Computer: Macbook A ...

Added by youngsei on Fri, 11 Feb 2022 15:41:47 +0200

Maven Basics

Pain point of the original project (process control problem) Software testing, document generation, packaging and release - it's best to be automated (one click release)The project relies on a large number of third-party jar packages, which is complex and difficult to manage - POM xmljar is a different manufacturer, and there are too many down ...

Added by Smruthi on Fri, 11 Feb 2022 14:44:41 +0200