包含标签:Java 的文章
-
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…… -
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…… -
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, …… -
On the difference between spring singleton bean and singleton pattern
The difference between spring singleton bean and singleton pattern is that their associated environment is different. …… -
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…… -
Xiaobai tutorial! JDK installation and configuration method on Linux server
This example shares the JDK installation and configuration method on Linux for your reference. The specific contents a…… -
Tutorial for installing JS code tips for MyEclipse (socket plug-in)
Recently, a lot of JS needs to be used for development, but the JS editor provided by MyEclipse 2014 has no function o……
