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…… -
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…… -
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…… -
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,…… -
Efficiency comparison of five methods of splicing strings in Java
preface Recently, I wrote something. I may consider string splicing and think of several methods, but I don't know the…… -
On class in Java
Class is the implementation of a specific class defined in the Java language. The definition of a class includes membe…… -
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…… -
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…… -
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…… -
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 …… -
Spring integrates the implementation of quartz job and spring task
There are two main types of timed tasks commonly used in spring 1. Spring integrates quartz job 2. Tasks built in afte…… -
A brief introduction to spring annotations
The core components of spring MVC Dispatcher servlet - C > controller, request entry handermapping - controller, re…… -
Java implementation of output loop number (spiral matrix) method example
This paper describes the method of outputting loop number (spiral matrix) in Java. Share with you for your reference, …… -
Java gets the information instance code of the current operating system
There are several mainstream methods. One is to use the following function publicstaticStringgetProperty(Stringkey) On…… -
On the role of thread communication, wait and notify
The purpose of thread communication is to enable threads to send signals to each other. In addition, thread communicat…… -
Spring uses oxm for object XML Mapping parsing
1. Understanding XML parsing technology 1.1 XML related concepts (1) DTD: XML syntax rule, which is the verification m…… -
Java learning simple chat example code using TCP
TCP TCP protocol is a connection oriented transport layer protocol that ensures high reliability (no data loss, no dat…… -
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……