Java
-
Solution to spring websocket 404 error
Recently, when learning spring websocket, write the code according to the example in spring in action, and the runtime…… -
Detailed explanation of mybatis annotation configuration of mybatis learning notes
Java API Now that you know how to configure mybatis and create a mapping file, you are ready to improve your skills. M…… -
Example explanation of Java advanced virtual machine loading mechanism
The JVM loads binary streams, which can be Class file can also be in other forms. If it is designed according to the l…… -
Detailed explanation of Java NiO server-side development
1、 Introduction to NiO class library 1. Buffer Buffer is an object that contains some data to be written and read. In…… -
Configuration and simple usage of mybatis paging plug-in PageHelper (recommended)
preface When tables are involved in the process of web development, such as datatable, there will be paging requiremen…… -
Implementation of AOP process with Java core library
This article is about a difficult and complicated problem of Java. It implements a simple AOP method by using the Java…… -
Config. In mybatis Detailed parsing of XML configuration file
After the previous articles, I think the understanding of the main topic of mybatis is enough, but I think the use of …… -
Detailed explanation of spring boot external configuration (configuration centralization)
preface In order to configure flexibly in projects, we often use configuration files. Common configuration files, such…… -
Java programming realizes the complete code of depth first search and breadth first search based on graph
To understand the 15puzzle problem, we learned about depth first search and breadth first search. Let's talk about dep…… -
Java method to get the number of occurrences of a specified string
Get the number of occurrences of the specified string in another string in Java for your reference. The details are as…… -
Java dateutils tool class for time conversion
This example shares the dateutils tool class of time conversion for your reference. The specific contents are as follo…… -
How to use simpledateformat in Java
The content of this paper is mostly based on official documents and online experience summary, which is sorted and acc…… -
Java date time string and millisecond conversion method
The content of this paper is mostly based on official documents and online experience summary, which is sorted and acc…… -
Talking about Java BitSet usage scenarios and code examples
1、 What is BitSet? Note: the following contents are from JDK API: The BitSet class implements an on-demand bit vector…… -
Four step five minute spring4 rapid integration with swagger
If your company hasn't used swagger and hasn't even heard of swagger, quickly learn my blog. It's five minutes quick a…… -
Detailed JAVA memory leak sample code
When locating JVM performance problems, you may encounter memory leakage leading to JVM OUTOFMEMORY. When using Tomcat…… -
Mybatis enables spring transaction code parsing
1. Business The essence of spring transactions is actually database support for transactions. Without database transac…… -
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…… -
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…… -
Java calculation mathematical expression code explanation
Java string is converted into arithmetic expression to calculate and output the result. Through this tool, you can dir…… -
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…… -
On Java operators and their priorities
Almost all operators can only operate on 'primitives'. The exceptions are' = ',' = ', and'! = ', which can operate on …… -
Java Servlet3. 0 handles problems asynchronously
Through this article, we mainly explain servlet 3.0 in java development The problems encountered in asynchronous proce…… -
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…… -
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…… -
Top 200 pages of Baidu Java interview questions (Part 2)
Baidu "Java interview questions" top 200 pages selection part 2 Design pattern What are design patterns? What design p…… -
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…… -
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…… -
The whole process record of mobile phone short message verification code in Web project
preface Recently, I'm working on a remote intelligent water meter management system. One function of this process is t…… -
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 …… -
Share JavaScript code examples through Java compression
Compress JavaScript code by removing empty lines and comments -
Detailed explanation of Java custom implementation chain queue
1、 Write in front The queue in the data structure should be familiar, that is, first in first out. It is named queue ……