Java
-
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…… -
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 -
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…… -
Use the Maven archetype plug-in to build an instance of the Maven project prototype template
Create prototype template 1. Run the commands above archetype: generate in the empty directory. After downloading the …… -
On the underlying implementation of Java concurrency
The purpose of concurrent programming is to make the program run faster, but the use of concurrency may not make the p……