Java
-
Java example of converting an integer into binary code
The method of converting an integer to binary: 1method 1: use BigInteger class: 2 method 2: use integer toBinaryString…… -
The method that allows JPA’s query interface to return map objects
In JPA 2.0, we can use entitymanager Createnativequery() to execute native SQL statements. However, when there is no c…… -
On class in Java
Class is the implementation of a specific class defined in the Java language. The definition of a class includes membe…… -
JMS introduction and ActiveMQ actual code sharing
1、 Asynchronous communication RMI, Hessian and other technologies previously contacted are synchronous communication …… -
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…… -
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…… -
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…… -
Brief introduction to spring IO platform
The spring IO platform framework is simply a version number compatible system, which organizes compatible versions of …… -
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…… -
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…… -
Preliminary understanding of JavaFX
Introduction to JavaFX When we mention Java's graphical interface library, we usually hear swing or older AWT, includi…… -
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…… -
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…… -
Working principle and source code interpretation based on thread pool
With the increasing number of CPU cores, it is inevitable to use multithreading technology to make full use of its com…… -
Spring assembling beans in IOC container
1. Spring configuration overview 1.1 overview The spring container reads bean configuration information from XML confi…… -
Introduction to di and AOP in spring Basics
preface As a coder engaged in java development, the importance of spring is self-evident. You may be dealing with the …… -
Introduction to JUnit 5
The famous Java unit testing framework JUnit 4 has been out for a long time. At that time, I found that JUnit 5 was in…… -
Solve the problem of error when Maven starts the spring project
First question The main reason is javax The servlet API treats the spring container as a servlet container at runtime,…… -
Spring 3. Three bean configuration methods in X are explained in detail
In the past, the Java framework basically used XML as the configuration file, but now the Java framework supports "zer…… -
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)…… -
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…… -
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…… -
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…… -
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…… -
Java socket programming heartbeat package creation instance analysis
1. What is a heartbeat pack? Heartbeat packet is a self-defined command word that regularly notifies the other party o…… -
Java socket programming server response client instance code
The client information is read through the input stream, and the corresponding time is realized through the output str…… -
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…… -
Detailed explanation of spring automatic assembly and scanning annotation code
1 @ r of JavaBean_ 404_ 1860@ Automatic injection to reduce the configuration information of XML files. 2 spring scan …… -
Code analysis of spring interceptor handlerinterceptor interface
Spring's handlermapping supports interceptors. Interceptors must implement the handlerinterceptor interface, which con…… -
On the application of custom annotation in spring
1. Java custom annotations and spring As a kind of metadata information of program elements (classes, member variables…… -
-
Brief introduction to Linux network I / O model (picture and text)
1. Introduction The Linux kernel treats all external devices as a file (everything is a file). Reading and writing to ……
