Java
-
Using java + Mysql to realize nearby function examples
preface Today, with the extensive development of mobile Internet, app development has become the first choice for many…… -
Java calls JavaScript to implement string calculator code example
If the expression is in the form of string, we will generally encounter great problems in evaluation. There is a metho…… -
Java multithreading takes too long to process business code example
Background: an application system has been developed in the government. Its main function is to allow enterprises to f…… -
Top 200 pages of Baidu Java interview questions (middle)
Baidu's first 200 pages of "Java interview questions" Multithreading Basic concepts What are the advantages of multith…… -
Serialize Java objects into JSON and XML formatted instances
1. Define a Java object person first: 2. Use Alibaba's fastjson-1.2 13.jar( http://maven.outofmemory.cn/com.alibaba/f…… -
Top 200 pages of Baidu Java interview questions (Part 1)
Baidu "Java interview questions" top 200 pages selected part I Basic concepts What is the difference between heap and …… -
Summary of the method of combining two arrays into one in Java implementation
This example describes the method of combining two arrays into one in Java. Share with you for your reference, as foll…… -
On using session to prevent repeated submission of forms
To solve the problem of repeated submission of forms in projects, the following situations may occur in ordinary proje…… -
Spring boot automatically updates static files and instances of background code
During the use of spring boot, I found that I modified the static file. After the foreground is refreshed, there is no…… -
Spring boot application startup and shutdown method
Spring boot, as the product of the spring framework's best practice of the concept of "convention over configuration",…… -
Static class in Java
In general, you can't modify a class with static. If you must use static to modify a class, static usually modifies an…… -
Method of reading configuration file in Src / main / resources directory in Maven project
In the development of Maven project, what should I do when I need to read the configuration file under Src /? Let's as…… -
Explain log4j Simple configuration and use of properties
This paper introduces log4j The simple configuration and use of properties are shared with you as follows: Simple log4…… -
Detailed explanation of timestamp type conversion of Java dateutil tool class
This example shares the specific code of dateutil tool class timestamp type conversion for your reference. The specifi…… -
Mybatis environment construction and use example code
Introduction to mybatis: Mybatis was originally an open source project ibatis of Apache. In 2010, the project was migr…… -
Java implementation generates a complete code example of Excel tree header
This article mainly shares the complete code example of generating excel tree header by java implementation. There is …… -
Depth first and breadth first Java implementation code examples
In programming life, we always meet tree structure. These days, we just need to operate the tree structure, so we can …… -
Explain the local warehouse and remote warehouse of Maven warehouse in detail
What is Maven warehouse When Maven is not used, for example, we used to build projects with ant. In the project direct…… -
On Java operators and their priorities
Almost all operators can only operate on 'primitives'. The exceptions are' = ',' = ', and'! = ', which can operate on …… -
Spring AOP getting started demo sharing
Before reading this article, you can first refer to the article "a brief understanding of IOC and AOP of spring and co…… -
Sample code for using HTTP requests in spring boot
Because of the project requirements, the two systems need to communicate. After some research, it is decided to use HT…… -
Share JavaScript code examples through Java compression
Compress JavaScript code by removing empty lines and comments -
Execution order judgment of static code blocks and construction methods in Java
preface Static code takes precedence over non static code because members modified by static are class members and wil…… -
Detailed explanation of Java date processing tool class dateutils
This example shares the specific code of Java date processing tool class dateutils for your reference. The specific co…… -
Java language implementation maximum heap code example
Maximum heap The characteristic of the largest heap is that the parent element is larger than the child element, and i…… -
Java implements Cartesian product algorithm example of unknown dimension set based on recursion and loop
This paper illustrates how Java implements Cartesian product of unknown dimension set based on recursion and loop. Sha…… -
How to modify integercache in Java 9
Before starting the body of this article, let's take a look at the following code: The role of integercache of integer…… -
Spring boot uploads pictures and displays them on the page and summarizes the problems encountered
Recently, in the process of building a website using spring boot, we encountered such a problem: when registering, use…… -
Quickly build modern web projects through spring boot + mybatis + redis
background Springboot has become one of the most mainstream java web development frameworks because it provides variou…… -
Example of converting XML document into JSON format data by Java
This article introduces an example of Java converting XML documents into JSON format data, which is shared with you as…… -
Explain the spring aspect and use the parameters passed to the notified method
This article introduces the parameters passed to the notified method in the spring aspect, and shares them with you. T…… -
Java uses POI package to read excel document code sharing
The project needs to analyze EXCEL documents to obtain data, so I found some materials on the Internet and wrote down ……
