Recent Posts
-
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 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 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…… -
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 implementation of MySQL database operation based on JDBC
This paper describes the method of operating MySQL database based on JDBC in Java. Share with you for your reference, …… -
Example analysis of high cohesion and low coupling rule
Definition: an object should have the least understanding of other objects. The origin of the problem: the relationshi…… -
On data exchange, cache and synchronization of JSON
JSON lightweight data exchange format Compared with XML, JSON has faster parsing speed and smaller documents. JSON for…… -
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…… -
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…… -
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 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…… -
A brief introduction to spring annotations
The core components of spring MVC Dispatcher servlet - C > controller, request entry handermapping - controller, re…… -
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 …… -
-
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…… -
Code analysis of spring interceptor handlerinterceptor interface
Spring's handlermapping supports interceptors. Interceptors must implement the handlerinterceptor interface, which con…… -
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 …… -
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…… -
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…… -
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…… -
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…… -
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…… -
Example explanation of string boot and custom interceptor
I've learned about filters before, but the filters are for servlets. They are used in spring MVC and spring boot. In t…… -
Java recursive algorithm traversal department code example
Recursion is a very useful knowledge point. Write some examples to help you remember There is process code in the midd…… -
Code analysis of XOR in Java
There is an XOR operator in the bit operators of Java, which is represented by the symbol (^). Its operation rule is: …… -
Java file reading and writing IO / NiO and performance comparison, detailed code and summary
After working in Java for so long, I have been working on web related projects, and some basic classes have almost bee…… -
Java phantom JS completes the HTML image output function
Output HTML web pages as pictures @ h with phantomjs_ 502_ 1@ 1. Background @ h_ 502_ 1@ How to generate a map in the …… -
Detailed interpretation of IO flow in Java
A stream is a series of data. When there is data interaction between different media, Java uses stream to realize it. …… -
Introduction to struts 2 (build environment, configuration and examples)
Learn the introduction course of struts 2 on the website, and download the latest struts-2.5 on the official website 5…… -
Four ways to solve hibernate lazy loading
This paper summarizes four ways to solve the problem of Hibernate lazy loading in the process of learning hibernate. T…… -
Java determines whether the instance entered by the user contains at least N decimal places
Judge whether the entered by the user contains at least N decimal places. 1. Throw an exception and return false when …… -
Java IO stream splits a file into multiple sub files code example
File splitting and merging is a common requirement. For example, when uploading a large file, you can first split it i……