包含标签:Java 的文章
-
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…… -
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. …… -
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 …… -
Maven based SSM framework integration example code
Basic concepts 1.1、Spring Spring is an open source framework. Spring is a lightweight java development framework risi…… -
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…… -
Introduction and example summary of Java programming reflection mechanism
This article illustrates the usage of Java programming reflection mechanism. Share with you for your reference, as fol…… -
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……