Java
-
JMS introduction and ActiveMQ actual code sharing
1、 Asynchronous communication RMI, Hessian and other technologies previously contacted are synchronous communication …… -
Daemon thread instance in multithread termination in Java language
There are two types of threads in Java: user threads and guard (service) threads. Through thread Set setdaemon (false)…… -
Spring oxm getting started instance
What is an O / xmapper? Spring3. A new feature of 0 is O / xmapper. The concept of O / X mapper is not new. O represen…… -
Spring boot uses sharding JDBC configuration
This article introduces the configuration of spring boot using sharding JDBC and shares it with you as follows: explai…… -
JDK source code reading collection details
I've seen an exaggeration called "people who haven't read the JDK source code don't count on learning java". Start int…… -
Example of connecting database and fuzzy query function realized by Java
This paper describes the connection database and fuzzy query function realized by Java. Share with you for your refere…… -
Java implements transaction, bank transfer and goods in and out of the warehouse based on JDBC
This paper describes the implementation of transaction, bank transfer and goods in and out of the warehouse in Java ba…… -
On the process of integrating ActiveMQ with spring boot
Rabbitmq is a commonly used AMQP implementation. This article is a simple tutorial on integrating rabbitmq with spring…… -
Java implementation extracts non duplicate integer instances
Title Description Enter an int integer and return a new integer without duplicate numbers in the reading order from ri…… -
Java file renaming and moving operation example code
Renaming and moving files Sometimes, in order to uniformly access and manage files, you need to rename the files and m…… -
Detailed explanation of integrated configuration of spring web MVC and Hibernate
There are many articles about the integration of spring and hibernate on the Internet. However, because those articles…… -
Brief introduction to spring IO platform
The spring IO platform framework is simply a version number compatible system, which organizes compatible versions of …… -
Introduction to XPath in Java programming
1、 Use Dom4j to support XPath operations - an element can be directly obtained without layer by layer parsing How to …… -
On the method of spring boot rabbitmq dynamic management
When using spring boot + rabbitmq, you may want to temporarily disable / enable listening or modify the number of list…… -
Detailed summary of Java Network IO programming (bio, NiO and AIO all contain complete example codes)
This article will introduce the traditional bio to NiO and then to AIO from shallow to deep, and attach a complete cod…… -
Four common ways and usage analysis of traversing map collection in Java
This article describes four common ways and usages of traversing map collection in Java. Share with you for your refer…… -
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…… -
Forkjoin and optional framework in Java 8
Parallel stream and serial stream Parallel flow is to divide a content into multiple data blocks and process each data…… -
Analysis of Java programming problems
1、 Introduction Joseph problem (sometimes called Josephus permutation, it is a problem that appears in computer scien…… -
On the method of using Maven plug-in to build docker image
This article introduces the method of using Maven plug-in to build docker image and shares it with you, as follows: to…… -
Generator configuration method of Hibernate mapping file ID
The optional < generator > child element is the name of a Java class, which is used to generate a unique identif…… -
On data exchange, cache and synchronization of JSON
JSON lightweight data exchange format Compared with XML, JSON has faster parsing speed and smaller documents. JSON for…… -
Basic instance analysis of java thread
There are two ways to establish threads in Java: inheriting the thread class and implementing the runnable interface. …… -
Simple instance of spring IOC and scope attribute resolution of bean
IOC (inversion if control) - inversion of control is one of the two core technologies of spring. IOC is generally divi…… -
Example analysis of high cohesion and low coupling rule
Definition: an object should have the least understanding of other objects. The origin of the problem: the relationshi…… -
How to encapsulate request parameters in struts 2
As we all know, the action class of struts 2 can obtain all relevant values through attributes, such as request parame…… -
Detailed explanation of memory leak caused by substring method in Java
Out of memory: Generally speaking, there is not enough memory. For example, creating a large object in an infinite loo……