Java
-
Configuration method of spring boot integrated Shiro
Spring boot provides a built-in authentication framework and a custom javaconfig configuration extension. Spring secur…… -
Java code implementation of wechat hop by hop
The circle of friends has made a jump for a long time. Today, I accidentally saw a video of a former colleague chick d…… -
Introduction to the differences between Java sets and arrays and examples of mutual conversion
Differences between arrays and Collections: (1) Arrays are fixed in size, and the same array can only store data of th…… -
Based on elasticsearch5 4. Summary of frequently asked questions
Elasticsearch5 has been used in recent projects 4 (ES) is a relatively new version. There are many problems in the use…… -
How to install elasticsearch under windows (Graphic)
ES is a Lucene based distributed full-text search server, Similar to the full text index of SQL server, both are full-…… -
Java wechat hop operation guide
Java wechat jump operation guide, which refers to which to choose. The idea of this paper is to control the operation …… -
On sleuth service link tracking in spring cloud
This article focuses on the service tracking component Zipkin. Spring cloud sleuth integrates the Zipkin component. 1…… -
Java sorting method according to the attributes of objects in the list
Method 1: implement the comparator interface and rewrite the compare method @ H_ 404_ 4@ Entity class code: Test class…… -
Java polymorphic instance code
Polymorphism is the ability of the same behavior to have multiple different forms or forms. Polymorphism is the same i…… -
Java parsing word to get the picture position in the document
Preface (background introduction): Apache POI is the next open source project of the Apache foundation. It is used to …… -
Introduction to the difference between Java and C + + subclasses in reducing the accessibility of parent class function coverage
preface The topic "the problem of reducing the accessibility of subclasses in Java and C + + to the coverage of parent…… -
Usage and configuration of spring properties
Developers who do not understand the properties in spring may feel a little confused, mainly because there are many co…… -
Detailed explanation of the function and usage of flush () function in Java language
Recently, when I was learning IO streams, I found that the flush () function appears every time. After checking its fu…… -
Reason for using 31 coefficient when defining hashcode
Hash calculation is to calculate which element of the array the element should be placed in. Exactly which linked list…… -
Jstack and thread dump instance parsing
Jstack definition: Jstack is a stack tracing tool that comes with the Java virtual machine. Jstack is used to generate…… -
Simple example of Java annotation processor
If there is no method and work to read annotations, annotations will not be more useful than annotations. An important…… -
Java sends an instance of HTTP and HTTPS requests
HTTP request: If you need to turn down yourself in JSON format, n postures on Du Niang HTTPS request: 1. I won't intro…… -
Java is a method to count the words that appear most frequently in English sentences and calculate the number of occurrences
This paper gives an example of how Java counts the words that appear most frequently in English sentences and calculat…… -
Java generates a jar package and a single process running instance
Java file package jar run Effective steps: 1. CMD to the current directory (for example, the directory where the defau…… -
Preliminary understanding of JavaFX
Introduction to JavaFX When we mention Java's graphical interface library, we usually hear swing or older AWT, includi…… -
Servlet based execution principle and life cycle (comprehensive analysis)
1、 Let's start with the servlet container: the most familiar servlet container is Tomcat. How does the servlet contai…… -
Implementation method of log4j configuring log printing time zone
Og4j version: 2.8 one There is a problem when developing desktop programs. The log time in idea and the running log ti…… -
Analysis of Java deep replication function and usage examples
This article describes the function and usage of Java deep replication. Share with you for your reference, as follows:…… -
Java display directory file list and delete directory function
Taking the D: \ a directory as an example, assume that the structure in the D: \ a directory is as follows: 4.1 exampl…… -
Four ways to instantiate beans in spring
preface Before introducing the instantiation of beans, we first need to introduce what beans are and how beans are con…… -
Working principle and source code interpretation based on thread pool
With the increasing number of CPU cores, it is inevitable to use multithreading technology to make full use of its com…… -
On spring’s BOM for solving jar package dependency
Explanation of terms: Bill of materials: Bill of materials, which is a good method to solve jar package dependency. Sp…… -
Spring assembling beans in IOC container
1. Spring configuration overview 1.1 overview The spring container reads bean configuration information from XML confi…… -
Introduction to spring roo installation and use
For a long time, Java / spring development has been regarded as a cumbersome representative, unable to quickly generat…… -
Introduction to di and AOP in spring Basics
preface As a coder engaged in java development, the importance of spring is self-evident. You may be dealing with the …… -
Java example of converting an integer into binary code
The method of converting an integer to binary: 1method 1: use BigInteger class: 2 method 2: use integer toBinaryString…… -
Introduction to JUnit 5
The famous Java unit testing framework JUnit 4 has been out for a long time. At that time, I found that JUnit 5 was in……
