Spring Boot integrates Dubbo and uses zookeeper as the registry
The whole process of this article is under the operation of windows. The general operation is the same as that of Linux. Please Baidu for details and Google if you have conditions!
Knowledge points to understand
Dubbo and zookeeper environments and what they are
Spring Boo ...
Posted on Sat, 27 Jun 2020 01:53:36 -0400 by son.of.the.morning
Stack and queue are the most common data structures. In this article, we use java code to implement stack and queue.
1. Stack features
The characteristic of the stack is first in and then out, because there is only one data access (implemented with a head pointer) for the stack. Therefore ...
Posted on Sat, 27 Jun 2020 01:46:56 -0400 by tsg
Elastic search (hereinafter referred to as ES) is not as easy to start with as mysql. Many java programmers will find the java client of ES difficult to master, although the high level client officially recommended by ES 7.x is much easier to use than the early TransportClient.
Spring Boot provides us with very convenient retrieval ...
Posted on Sat, 27 Jun 2020 00:31:27 -0400 by pradeepss
Linear table is a very basic and important data structure, which mainly includes the following contents:
Next, I will make a detailed summary of these four data structures, including more than a dozen common operations on the linked list. I hope it will help you.
Array is a linear table data structure. I ...
Posted on Sat, 27 Jun 2020 00:08:28 -0400 by bache
Resolve the typeAliases element to complete the registration of type aliases
> Click to see the usage of the typeAliases element
The typeAliases element is used to complete the configuration of type alias mapping in mybatis. We have learned a little about the type alias mechanism of mybatis. Its function is to provide a shorter name for the ...
Posted on Fri, 26 Jun 2020 23:58:33 -0400 by picos
Interface and listener in java
1, Definition of inheritance
Before we understand the interface, I think we need to make clear the concept of inheritance. java is an object-oriented programming software, so we need to define classes in java. As we all know, classes have methods and properties. There ...
Posted on Fri, 26 Jun 2020 23:19:36 -0400 by parse-error
In terms of sensitive word filtering, we should say that it's big or small. Generally legal users will not have a big problem, but some illegal users deliberately engage in your business, it is not very friendly! After all, now the network is so developed, what matters to the Internet, the im ...
Posted on Fri, 26 Jun 2020 21:22:22 -0400 by jasonbullard
1 Authorized implementation
This paper will implement a relatively simple and flexible API security authentication service through AOP.
Let's look at the implementation first, then introduce and analyze the basic principles and common terms of AOP.
1. Definition notes
Posted on Fri, 26 Jun 2020 02:55:37 -0400 by NME
Q: the bottom two bytes of char. Why use Java byte stream to read the English letters in the file. txt to output directly instead of half an English letter?
Q: why is input and output not literal meaning?
Q: understanding of flush() and close() in io flow
Why do we put the close() meth ...
Posted on Fri, 26 Jun 2020 02:18:11 -0400 by springo
Application of pooling Technology: thread pool, database connection pool, http connection pool, etc.
The idea of pooling technology is mainly to reduce the consumption of resources obtained each time and improve the utilization rate of resources.
Benefits of using thread pools:
Reduce resource co ...
Posted on Fri, 26 Jun 2020 01:59:12 -0400 by Loriq