Java
-
How async and await simplify asynchronous programming (several examples let you fully understand)
introduction Async and await are two keywords in c#5.0. These two keywords simplify asynchronous programming. The reas…… -
Asynchronous call async in spring boot integration tutorial
preface This article mainly introduces you to the asynchronous call async of spring boot integration, and shares it fo…… -
Java finds the string with the most occurrences in the string and the number of occurrences
Interview question of Jinshan company: a string may contain multiple characters in a ~ Z. if there is repetition, such…… -
Analysis of reentrantlock source code of Java Concurrent series
In Java 5 Before 0, the only mechanisms that can be used to coordinate access to shared objects are synchronized and v…… -
Java counts the number of random occurrences of 50 integers between 10 and 50
Randomly generate 50 integers from 10 to 50, count how many times each number appears, and the number appearing 0 time…… -
Java annotation parsing
summary Java introduced annotation in version 1.5, also known as Java annotation. Annotation is a kind of syntax metad…… -
Spring AOP is based on annotation explanation and example code
Spring AOP is based on annotation explanation and example code 1. Enable spring's support for @ AspectJ annotation: Yo…… -
Method of adding and deleting bidirectional linked list in Java
Java to achieve the addition and deletion function of two-way linked list, complete code 1. To construct a node node, …… -
Java implements the method of reading keyboard input, saving it to TXT file, and then counting and outputting the number of occurrences of each word
This example describes the Java implementation of reading keyboard input, saving it to TXT file, and then counting and…… -
Spring boot and docker deployment details
This article introduces the deployment of spring boot and docker. I hope it will be helpful to you Enable docker remot…… -
Solution to connection timeout problem in jedis (jedispool connection pool usage instance)
Today, I found that the default connection mode of jedis is jedis = new jedis ("localhost", 6379), and connection time…… -
Detailed explanation of Java annotation and custom annotation
1: Introduction to Java annotations Annotations are often used in development, and custom annotations are occasionall…… -
Source code analysis of concurrent HashMap in Java concurrency series
We know that hash table is a very efficient data structure. The addition, deletion, modification and query operation o…… -
Jedispool resource pool optimization method
background Reasonable jedispool resource pool parameter settings can escort the business to use redis. This paper will…… -
Servlet to achieve paging effect
This example shares the specific code of servlet to realize paging effect for your reference. The specific contents ar…… -
Explain how to use AOP of spring boot to process custom annotations
The previous article introduced Java annotations, explained the basic usage of Java annotations, and implemented a sim…… -
Steps to build your own private GitHub library with gitlab
Gitlab is an open source project management program developed with Ruby on rails, which can access public or private p…… -
Code analysis of paging function implemented by JavaBean servlet JSP
The front-end implementation uses liger UI to realize paging. It feels that the framework is really simple and idle. I…… -
Detailed explanation of the life cycle of spring bean
Bean lifecycle: Bean definition - bean initialization - bean use - bean destruction Definition of bean A bean is a com…… -
Explain the AspectJ annotation configuration of spring AOP instances in detail
In the previous "XML configuration of spring AOP instances", we explained the XML configuration method. Today, let's t…… -
Spring boot uses webasynctask to return results asynchronously
In spring boot (spring MVC), requests are synchronized by default. A thread is responsible for a request from the past…… -
Java countdownlatch completes the detailed explanation of asynchronous callback instance
Java countdownlatch completes the detailed explanation of asynchronous callback instance Example code: Here are two po…… -
Detailed explanation of the example of passing object parameters in spring MVC
preface As a beginner of Java, due to the urgency of the project, there was no time to study it carefully. When passin…… -
Introduction to custom annotation based on Java annotation
To deeply study annotations, we must be able to define our own annotations and use them. Before defining our own annot…… -
How to get the value of modelandview binding in the page
In spring MVC, the data interaction between the background and the page is carried out through modelandview, so how to…… -
Abstractqueuedsynchronizer source code analysis of Java concurrency series (conditional queue)
Through the analysis of the previous three articles, we have a deep understanding of the internal structure and some d…… -
Abstractqueuedsynchronizer source code analysis of Java concurrency series (exclusive mode)
In the previous Java concurrency series [1] - summary analysis of abstractqueuedsynchronizer source code analysis, we …… -
Java uses IO stream to cut and splice audio
Requirements: use the IO stream to cut the climax parts of several audio files in the specified directory and re splic…… -
Talk about my understanding of the spring bean life cycle
preface Spring's IOC container is very powerful and is responsible for the creation and management of spring beans. Sp…… -
Sample code for file upload implementation of spring cloud feign
Feign encapsulated in spring cloud does not directly support file transfer, but it can be implemented by introducing f…… -
Spring MVC annotated development and use details
MVC annotated development is processor annotation based class development. For each defined processor, there is no nee…… -
Explain in detail the usage of important classes in the ribbon, an important component of spring cloud load balancing
Ribbon is a component responsible for load balancing in spring cloud Netflix. It is a collection of class libraries. T……