Java
-
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…… -
Four ways to instantiate beans in spring
preface Before introducing the instantiation of beans, we first need to introduce what beans are and how beans are con…… -
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…… -
On spring’s BOM for solving jar package dependency
Explanation of terms: Bill of materials: Bill of materials, which is a good method to solve jar package dependency. Sp…… -
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 spring roo installation and use
For a long time, Java / spring development has been regarded as a cumbersome representative, unable to quickly generat…… -
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 …… -
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,…… -
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 batch files are compressed, exported and downloaded to the local sample code
It mainly uses org apache. tools. zip. Zipoutputstream is a zip stream. Here, take EXECL as an example. Idea: first wr…… -
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…… -
Detailed explanation of basic concepts of Java language annotation
1、RetentionPolicy. Source: the annotation is only kept in the source file. When the java file is compiled into a clas…… -
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…… -
Code details of Apache commons Toolset
Apache commons contains many open source tools to solve the problems often encountered in programming and reduce repet…… -
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 …… -
Explain how spring boot admin uses Eureka monitoring service
preface I'm just free recently. Let's learn how to build a spring boot admin environment. Many pits were encountered. …… -
Code analysis of spring interceptor handlerinterceptor interface
Spring's handlermapping supports interceptors. Interceptors must implement the handlerinterceptor interface, which con…… -
Java dynamic proxy (design pattern) code explanation
Foundation: need to have the idea of object-oriented design, polymorphism and reflection; With the emergence of Java d……