包含标签:Java 的文章
-
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 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…… -
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…… -
Java programming file traversal of the specified number of layers of traversal, detailed code
Traversal is to access each element once For example, in a binary tree, traversing the binary tree means that each ele…… -
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…… -
Java calling DLL method summary
JNI and jnative are commonly used. Note: when Java calls DLL, corresponding processing must be done in DLL. Columns su…… -
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 ……