Java
-
Spring declarative transaction implementation process parsing
/** * 声明式事务: * * 环境搭建: * 1、导入相关依赖 * 数数据 * 3、给方法上标注 @Transactional 表示当前方法是…… -
Detailed explanation of web client usage in spring 5
preface Spring 5 brings a new responsive web development framework Webflux and a new httpclient framework webclient. W…… -
Detailed explanation of volatile keyword in Java concurrency tutorial
introduction When it comes to multithreading, I think the most important thing is to understand the concept of a criti…… -
Spring security test practice
introduction The security module of the test question management system uses spring security, and the code is transpla…… -
Parsing process of reading XML file content through Java
This article mainly introduces the content parsing process of reading XML files through Java. It is introduced in grea…… -
Analysis of PDF file generated by Java based on rich text
This article mainly introduces the process of generating PDF files by Java according to rich text. It is introduced in…… -
Spring process analysis of ActiveMQ message queue technology integration
This article mainly introduces the integration of ActiveMQ message queue technology and spring process parsing. It is …… -
Writing examples of 7 singleton modes in Java version
preface Today, I saw a sentence in an article. Add V before single example DCL. Let me take a closer look at the singl…… -
Simple implementation of Huffman algorithm for Java optimal binary tree
The optimal binary tree is also called Huffman tree. The straight point is that each node has weight. We let the large…… -
Automatic configuration does not take effect after inheriting webmvcconfigurationsupport and how to configure interceptors
There are many articles on the Internet about spring boot2 After 0, it is recommended to directly implement webmvcconf…… -
Spring security dynamically loads user role permissions to realize login and authentication functions
Many people find it difficult to implement login verification with spring security, and I felt the same when I first l…… -
Java code statistics applet
This example shares the Java code statistics applet for your reference. The specific contents are as follows You can t…… -
Detailed explanation of spring annotation programming model
In spring, there is a concept called meta annotation, which realizes the "derivation" of annotations through meta anno…… -
Java method example for initializing and filling arrays
Initialize and populate the array import java.util.Arrays; public class ArrayFilling { public static void main(Stri…… -
Summary of practical cases of Java static method usage
This article describes the usage of Java static method with examples. Share with you for your reference, as follows: A…… -
Use of test units in SSM framework spring integration JUnit process details
Problems and solutions in test class problem In the test class, each test method has the following two lines of code: …… -
Detailed explanation of the implementation of the rejection policy of java thread pool
1、 Introduction jdk1. Version 5 adds JUC concurrent programming package, which greatly simplifies the traditional mul…… -
The principle of future and futuretask in Java and its combination with thread pool
Future and future in Java are usually used together with thread pool to obtain the return value after thread pool retu…… -
Java implements simple checkerboard archiving and reading functions
Recently, the archiving of playing Gobang has been studied. The main implementation is to save the Gobang chessboard o…… -
Method and steps of realizing synchronous lock based on string
In some cases, we may want to do something based on strings. For example, it is more reasonable to use lock strings fo…… -
How to obtain the real IP address of the client in Java interview
preface When developing some small games, we often pay more attention to sharing. For sharing, we hope to have differe…… -
The principle of future and futuretask in Java and its combination with thread pool
Future and future in Java are usually used together with thread pool to obtain the return value after thread pool retu…… -
Analysis of single sign on implementation of spring cloud microservice based on redis cluster
brief introduction This paper introduces how to implement single sign on in microservice architecture Create three ser…… -
Java implementation code for array flipping
1. Java provides some toolkits to realize array flipping. I won't repeat reverse here... 2. You can also assign a new …… -
Instance implementation of Java array to obtain maximum and minimum values
The following example demonstrates how to use the collections. XML file of the collections class Max () and collection…… -
Java uses policy patterns to optimize too much if else code
preface Not surprisingly, this should be the last time I shared it years ago. This time, I'll give you some tips that …… -
Using array stack (Java implementation)
Stack introduction The stack is a first in, then out ordered list. Stack is a special linear table that restricts the …… -
Java uses OTP dynamic password (changed every minute) for login authentication
Git address: https://github.com/suyin58/otp-demo Screenshot of dynamic code: In the background management system open …… -
Simple factory pattern example of java interface oriented programming
This paper illustrates the simple factory pattern of java interface oriented programming. Share with you for your refe…… -
Java teaches you how to add a nice flag to your avatar
Today, the circle of friends is hot again. I heard that the reason is that @ Tencent's official website can get a gree…… -
Java 8 in-depth study
1、 Using the optional introduction 1.1. Code problem derivation NullPointerException is usually encountered when writ…… -
Spring boot deployment process analysis (jar or war)
preface For the deployment of traditional SSM or SSH projects, they are usually packaged into a war package or a compi……
