Java
-
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…… -
-
How to use hashcode and equals in Java
preface As we all know, Java Lang. object has a hashcode () and an equals () method, which play an important role in s…… -
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…… -
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…… -
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…… -
Basic instance analysis of java thread
There are two ways to establish threads in Java: inheriting the thread class and implementing the runnable interface. …… -
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 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…… -
How to encapsulate request parameters in struts 2
As we all know, the action class of struts 2 can obtain all relevant values through attributes, such as request parame…… -
MyEclipse + Tomcat + Maven + SVN project complete environment construction (Graphic tutorial)
This time, I changed a computer, so I need to reconfigure the project development environment. All kinds of in the pro…… -
Learning Java Memory Model JMM experience
Sometimes, the optimization of compiler and processor will cause the runtime to be different from what we think. There…… -
Java programming implementation of hexadecimal string XOR operation code example
I haven't written a blog for a long time. I feel so busy in the last year. I can't finish all kinds of work. I believe…… -
Application notes of java reflection in practical work
Recently, I encountered such a problem in my work: Make a test tool for all interfaces in a project, using Java Swing …… -
Java uses Apache toolset to realize FTP file transfer code explanation
This article mainly introduces how to upload and download files to the FTP server using the FTP tool provided by Apach…… -
200 lines of Java code to write a calculator program
I found a calculator applet written in college and a graphical interface that can graphically display the expression s…… -
Detailed explanation of the difference between hibernate urgent connection and ordinary connection
The difference between hibernate connection and ordinary connection The relevant introduction and explanation have bee…… -
Java background folder file traversal complete code
1、 There are two ways to traverse all files in a folder in Java: 1. Recursive traversal is usually the first method t……
