Java
-
Popular explanation and code example of communication between Java threads
Inter thread communication: because multiple threads share the address space and data space, the communication between…… -
Get to know mybatis and its basic configuration and Implementation
1. Introduction to mybatis Mybatis is an excellent persistence layer framework, which supports customized SQL, stored …… -
Java swing component BoxLayout layout usage example
This article describes the Java swing component @ r as an example_ 516_ 2419@Layout Layout usage. Share with you for y…… -
Three ways to solve circular dependency in spring
Introduction: circular dependency is a circular nested reference in n classes. If this circular dependency occurs in t…… -
JDBC database connection code
This example shares the specific code of JDBC database connection for your reference. The specific contents are as fol…… -
Simple application based on rabbitmq (detailed explanation)
Although the read-write separation technology is used in the background, which can resist high concurrency to a certai…… -
Two methods of file upload in Java (uploadify and spring)
The two file upload methods used in recent projects are summarized as follows: I uploadify: The scripts and styles of…… -
Detailed explanation of Java exception architecture
1、 What is an exception Exception: a program exception event caused by hardware equipment problems, software design e…… -
Super detailed spring boot introductory notes (summary)
1. Getting started with spring boot Spring boot is a relatively new project in the spring community. The purpose of th…… -
Simple QQ login interface and button color setting code of Java code block
This article mainly shares the relevant codes about the simple QQ login interface and button color setting for referen…… -
Spring boot configures scheduled tasks and @ scheduled annotations of scheduled tasks through @ scheduled
Serial timing task Configuration files need to be added for parallel scheduled tasks Because the purpose of spring boo…… -
Deeply understand the implementation principle of Java programming thread pool
In the previous article, we created a thread when using threads, which is very easy to implement, but there will be a …… -
Observer model of java learning notes
This article shares the observer pattern of Java design pattern for your reference. The specific contents are as follo…… -
Detailed explanation of spring cloud zuul retry mechanism
brief introduction The version of spring cloud in this article is (Dalston. Sr4). The details are as follows: Turn on …… -
Java programming NBA game interface call example code
Step 1: find the interface provided by others. For example, here I choose the interface provided by aggregate data Ste…… -
Efficiency comparison of four methods of Java array replication
There are many aspects about the basic knowledge of arrays, such as initialization, reference, traversal, one-dimensio…… -
Example code of treemap sorting in Java
1. Define the sorting method of treemap Use the comparator object as a parameter It should be noted that the sorting m…… -
Java BigDecimal and double examples and analysis of related problems
BigDecimal class For numbers that do not require any accurate calculation accuracy, float or double can be used direct…… -
Java multithreaded queue, BlockingQueue and method parsing of production consumer model using BlockingQueue
What is queue Queue is a data structure. Except for the priority queue and LIFO queue, the queue sorts the elements in…… -
Collection framework details and code examples
brief introduction Differences between sets and arrays: Arrays store basic data types, and each array can only store d…… -
Detailed introduction to constructor in Java programming
This paper is mainly a summary for novices, people interested in Java language and those who have not systematically s…… -
Addition, subtraction, multiplication and division, size comparison and precautions of BigDecimal in Java
preface To borrow from the book effactive Java, the main design goal of float and double types is for scientific calcu…… -
Use of cyclicbarrier for Java Concurrent instances
Recently, I've been integrating concurrency. By the way, I'll write some examples of Java concurrency to share with yo…… -
Spring injects instances of attributes based on the XML configuration file P namespace
The class code to generate objects and inject attributes through namespaces is as follows: The XML configuration file …… -
Introduction to flowlayout of Java swing component layout manager
This article describes the flowlayout of the Java swing component layout manager with examples. It is shared for your …… -
Java get time difference (days difference, small time difference, minute difference) code example
There are many blog posts on the Internet about how to get the time difference. I have a look. Most of them are implem…… -
Spring integrated redis detailed code example
This article introduces an example of spring integrating redis from the beginning. Eclipse engineering structure The f…… -
Java implementation of queue data structure code
What is queue structure A linear structure with a special algorithm [can only be deleted at one end (team head) and in…… -
Jedis explains the five types of operation codes of redis in detail
This article mainly describes jedis's five types of operations on redis: string, list, hash, set and ordered set. Jedi…… -
Java import excel ideas and code examples
Export is to convert list to excel (listtoexcel) Import is to convert Excel to list (Excel to list) 1、 Train of thoug…… -
Java (swing) + MySQL student information management system source code
This example shares the source code of student information management system implemented in Java for your reference. T…… -
Introduction to spring bean inheritance and automatic assembly
Basic concepts of spring bean As we all know, spring is a large factory, and the bean in the spring container is the p……