包含标签:Java 的文章
-
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,…… -
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…… -
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…… -
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…… -
[spring boot] a method to quickly build a spring boot micro framework
Spring boot is a framework for quickly building an environment. Its design concept is to reduce XML configuration as m……