Recent Posts
-
Java implementation of guessing numbers games
Java implementation of the number guessing game, randomly given a number, guess the size until it is correct Another m…… -
On the difference between static and non static in Java
On the difference between static and non static variables 1. Static modified variables are called class variables, glo…… -
Java map stores the array and takes out the value code
There are four main methods to obtain the value of map. These four methods are divided into two categories. One is to …… -
java. Lang. void class source code analysis
When viewing the ThreadGroup in the source code, I see a piece of code, which is as follows: This method is used to ch…… -
On the advanced usage of JUnit 4 unit testing
JUnit unit test framework is a necessary test tool for Java program development. Now JUnit 4 is the most commonly used…… -
Example of httpclient implementation calling external project interface tool class
Examples are as follows: The above example of httpclient calling external project interface tool class is all the cont…… -
Use recursion to delete all child nodes of the tree structure (Java and MySQL Implementation)
1. Business scenario It has the following tree structure: + - 0 + - 1 + - 2 + - 4 + - 5 + - 3 If you delete a parent n…… -
Common problems based on Multithreading concurrency (detailed explanation)
I. overview 1.volatile Ensure that once the shared data is modified, it will be synchronized to the shared memory (hea…… -
Mybatis L2 cache implementation code
L2 cache needs to be manually configured and enabled, as follows: Set enable L2 cache / mybatis02 / config / mybatis-c…… -
Kryo framework usage code example
Source of kryo framework has been moved to https://github.com/EsotericSoftware/kryo , enter this page, and then click …… -
Analysis of common methods of appending content to the end of file in Java
This article describes the common methods of appending content to the end of the file in Java. Share with you for your…… -
Springcloud practical tips: zuul’s path matching
Whether we use the configuration method of traditional routing or service routing, we need to define a matching expres…… -
Java implementation of four mixed operation code examples
Using the stack, you can handle the operation priority. Use natural four arithmetic expressions, such as 4 + (3 * (3-1…… -
Detailed explanation of object-oriented programming ideas and object examples in Java language
When beginners learn Java, object-oriented is difficult to understand, so today Xiaobian will put this idea for you to…… -
Export excel tool class instance implemented by Java
This paper describes the export excel tool class implemented in Java. Share with you for your reference, as follows: E…… -
Java random number production algorithm example
Java provides math The random () function returns a random number of double type, and there is also the random class i…… -
Detailed explanation of the selection of map traversal mode in Java
1. Description For the traversal of map in Java, many articles recommend using entryset, which is much more efficient …… -
Java uses POI to parse excel and obtain instances of all cell data
1. Import POI related jar packages org. apache. poi jar 2. Code example The above example of Java parsing excel with P…… -
Detailed explanation of Java synchronization function code
summary The lock of the synchronization function is this, and the lock of the static synchronization function is the b…… -
Detailed explanation of Shiro session expiration time in spring boot actual combat tutorial
preface As we all know, in spring boot, setting the session expiration time only needs to be in application Add server…… -
Switching of multiple data sources in Java automated testing (example explanation)
Data driven is a very important concept in automated testing. When the data is separated from the script, in the face …… -
How to use transactionattributes in spring configuration
Recently, I encountered this problem. When using the jpatemplate provided by spring for query, if the amount of data e…… -
Explain in detail how to write and run spark applications in Java
We first put forward such a simple requirement: Now we need to analyze the access log information of a website and cou…… -
Example of n * n matrix evaluation and inverse matrix algorithm implemented in Java
This paper describes the n * n matrix evaluation and inverse matrix algorithm implemented in Java. Share with you for …… -
Java implementation to construct infinite hierarchical tree menu
Here, let's talk about how the background Java constructs a multi tree, so that the foreground can receive data and re…… -
Example of inverse matrix algorithm implemented in Java
This paper describes the inverse matrix algorithm implemented in Java. Share with you for your reference, as follows: …… -
Solve the problem that spring MVC multi data source switching does not support transaction control
A project needs to use two databases, Oracle and MYSQL, so refer to various blogs to realize this function. After writ…… -
Explain in detail the difference between spring boot deployment jar and war
This article introduces the differences between spring boot deployment jar and war and shares them with you as follows…… -
Java implementation of wechat applet login status maintenance example code
I believe many friends who like development already know what kind of wechat applet is. The landlord has been paying a…… -
Fetch = fetchtype in hibernate Lazy lazy loading failure handling method
For this lazy loading problem, the final approach is to use a hibernate support class provided by spring. Its main mea…… -
Servlet forwarding, including detailed explanation (VII)
This paper introduces servlet forwarding and servlet inclusion for your reference. The specific contents are as follow…… -
How Java uses reflection to find classes using specified annotations
preface I'm a little empty recently. I want to write an annotation like the annotation in spring, and then I hope to f……