包含标签:Java 的文章
-
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…… -
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…… -
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…… -
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……