Java
-
NiO pipeline usage code sharing of Java
The pipeline in Java NiO is similar to the actual pipeline. It has two ends, one as input and one as output. In other …… -
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…… -
Spring boot customization and optimization built-in Tomcat container example details
1. Spring boot customizes and optimizes the built-in Tomcat container. >There are three built-in containers: undert…… -
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…… -
Java reflection get and call methods
Get methods from class: public method [] getmethods()// Get all public methods including itself and inherited (impleme…… -
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…… -
23 design patterns (14) Java iterator pattern
23 design patterns Part 14: Java iterator pattern Definition: provides a way to access each element in a container obj…… -
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…… -
Detailed explanation of memory leak code in Java language
An important feature of Java is that the garbage collector (GC) automatically manages the recycling of memory without …… -
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 …… -
Java programming code example of adding two large numbers
Generally, BigInteger and BigDecimal are used to realize large number operation. These two methods represent immutable…… -
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…… -
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 …… -
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…… -
Java programming to cut files with hash method
Hash is usually translated as "hash" or directly transliterated as "hash", Is to input any length (also known as pre i…… -
Detailed explanation of Java timer usage
1、 Concept The timer object is mainly used by the scheduled task planning function in Java. It uses multithreading in…… -
Spring boot + layim + t-io example code for file upload and monitoring user status
preface Today's main content is: pictures in layim messages, uploading and docking of files, monitoring of user status…… -
Explain in detail how to solve the problem of garbled code from the foreground to the background of SSM framework
Recently, when I was working on an SSM framework project, I always encountered a problem, that is, when the background…… -
Explain in detail how Maven project in eclipse uses the plug-ins above tomcat7
The Tomcat: run command used in Maven is the version of Tomcat 6 by default, Now you need to use the version above tom…… -
Operation method of integrating mongodb with sprint boot
Mongodb is one of the first popular non relational databases, and it is also widely used. It is generally used for off…… -
Solution of jar package conflict in the integration of HBase and elasticsearch
Problem background In the data platform, ES and HBase need to be used to build the data query interface for project co……