Zuul [working principle]

zuul's core logic is implemented by a series of filter chains. However, different types of filters, different execution times and different effects are different. The main features are as follows: Type of filter: the type of filter determines its execution order in the whole filter chain. It may be executed before or during the endpoint routi ...

Posted on Fri, 25 Oct 2019 14:52:33 -0700 by henrygao

The fifth day of internship in Ningbo

User management system environment construction and query This project is based on the function of adding, deleting, modifying and querying ssm framework and database Build the ssm framework reference [link] https://blog.csdn.net/qq_37052983/article/details/95613979 Add, delete, modify and query funct ...

Posted on Fri, 25 Oct 2019 14:50:07 -0700 by XZer0cool

Introduction to JavaScript basic functions

Basic introduction Similar to methods in Java, the purpose is to reduce the amount of code and facilitate repeated calls. funName(); is the function method called new FunName(); is the constructor of the call. There are two ways to write a function Declaration: function nameF() Expression: var nameF = function Parameters of JS funct ...

Posted on Fri, 25 Oct 2019 13:08:12 -0700 by sprintlife

Bytom offline signature and private key address generation java and go versions (user manages UTXO)

Bytom node mechanism Bytom's main network node is an HD wallet. The UTXO model is managed by the built-in account model of the HD wallet. However, due to the HD wallet, we can't proceed. Offline signature. There are so few official SDKs about offline signature that we have to write our own SDK to co ...

Posted on Fri, 25 Oct 2019 10:51:59 -0700 by andrewpike2000

Six steps of JDBC programming

The most primitive way of writing import java.sql.*; public class JDBCTest01{ public static void main(String[] args){ Connection conn=null; Statement stmt=null; try{ //1. Registration driver Driver driver = new com.mysql.jdbc.Driver(); DriverManager.registerDriver(driver); ...

Posted on Fri, 25 Oct 2019 08:59:01 -0700 by ilikemath2002

Why to rewrite equals must rewrite the basic analysis of hashCode

1. Let's first understand the native equals and hashCode codes Native equals: it determines whether two objects are equal Native hashCode value: it is an integer value converted from memory address. 2. Why rewrite equals and hashCode? Of course, in order to meet our specific business needs, after all, we don't only compare the same objects. ...

Posted on Fri, 25 Oct 2019 08:58:06 -0700 by throx

Java solves Emoji expression filtering problem (Reprint)

Author I am Zhou Zhou. Original link https://blog.csdn.net/u012904383/article/details/79376707 I use the third way to introduce jar.   Question: Emoji expression is not filtered from the three-party data, resulting in an error when it is stored in the DB.     Reason: UTF-8 encoding can be two, three, or four bytes. Emoji expression is ...

Posted on Fri, 25 Oct 2019 08:25:44 -0700 by emopoops

Realize remote execution function manually

In reading the second edition of "deep understanding of Java virtual machine", a book. The demo seen in Chapter 9. The function of this little thing is to enable the server to dynamically execute code, print logs, etc. at runtime, without modifying the server code and restarting the server. At ...

Posted on Fri, 25 Oct 2019 05:03:46 -0700 by pgrevents

java implements Tree tree structure, recursion (only parent-child relationship)

java implements Tree tree structure, recursion (only parent-child relationship) -6 foundation tables (Figure 1-1) -Parent child relationship between the two (Figure 1-2) -id will repeat, so will pid (code 1-1) Fig. 1-1: Fig. 1-2: Difficulties: Not in the same table, parent-child relat ...

Posted on Fri, 25 Oct 2019 02:45:05 -0700 by groberts23

Delayed call and scope of Go language series development

Hello, dear friends, I'm xiaotanjun. In recent years, we will continue to share the basic series of go language. Of course, xiaotanjun has been planning a series of articles about java, Python, data analysis, artificial intelligence and big data. I hope to learn and improve with you. Well, let's start today's sharing. Today's topic is about del ...

Posted on Fri, 25 Oct 2019 02:35:53 -0700 by bob2006