Recent Posts
-
Mybatis implements batch update (Oracle and MySQL)
Batch updates of Oracle and MySQL databases are configured differently in mybatis: Oracle Database: Mysql database: Th…… -
The basic principle of Java JDK dynamic agent is introduced in detail
JDK dynamic agent details This paper mainly introduces the basic principle of JDK dynamic proxy, so that we can have a…… -
Explain Java modifiers
The Java language provides many modifiers, which are mainly divided into the following two categories: Modifiers are u…… -
The difference between Java rewriting and overloading
Override Rewriting is a subclass's rewriting of the implementation process of the accessible methods of the parent cla…… -
HTTP client requests HTTP data, and JSON turns to an instance of map
Examples are as follows: The above is the whole content of the HTTP client request HTTP data, JSON to map instance bro…… -
An interesting phenomenon of Java splitting strings with split
Here is a code: OK, the final output of the above code is 2, which is no problem, but if it is written in the followin…… -
Java packing and unpacking details and example code
Java packing and unpacking details preface: To understand the concepts of boxing and unpacking, you need to understand…… -
Two methods of converting entity class to JSON in Java
First declare the required jar package: 1、 Create an entity class EMP 2、 Convert entity class to JSON (1) (2) The ab…… -
Java language code for adding, deleting, modifying and querying data in MySQL database
To put it simply, the steps are as follows: 1. Connect to the database 2. Send SQL statements to the database 3. Execu…… -
Detailed explanation of mutual conversion between Java list, set, map and array
Detailed explanation of mutual conversion between Java list, set, map and array 1. List to set 2. Set to list 3. Conve…… -
Detailed explanation and simple example of Java database connection pool
Detailed explanation of Java database connection pool The principle of database connection pool is: The basic idea of …… -
Detailed explanation and example of Java builder pattern builder pattern
Java Builder Pattern 1. Concept Separating a complex build from its representation allows the same build process to cr…… -
Spring boot uses AOP to handle logs uniformly
AOP I think everyone knows that sometimes we need to process some request logs or monitor some methods. What should we…… -
Example of data transfer using JSON in Java
Recently, I was working on the development of a web application based on java servlet and the corresponding anroid app…… -
Java solves the problem that byte 2 of UTF-8 sequence with exception 2 bytes is invalid
Java solves the problem that byte 2 of UTF-8 sequence with exception 2 bytes is invalid In a recent project, I encount…… -
Explain how to write singleton pattern correctly in Java
Single case mode is the easiest to understand and handwritten code mode in design mode, but it involves a lot of knowl…… -
Detailed explanation of Java HttpServletRequest and httpservletresponse
Detailed explanation of Java HttpServletRequest and httpservletresponse Recently, due to the re encapsulation of CAS r…… -
In depth understanding of polymorphism in the three features of Java
Three features of Java Object oriented programming has three characteristics: encapsulation, inheritance and polymorph…… -
Detailed explanation and simple examples of generic methods in Java
Java generic methods: I won't say much about what generic means, and the definition of generic classes in Java is rela…… -
Spring MVC learning – detailed explanation of URL parameter passing
In the process of learning spring MVC, it is necessary to understand several key parameters first: @Controller: If yo…… -
Method of Java regular expression processing special character escape
Regular requires escape characters '$','(',')','*','+','.',' [',']','?','\\','^',' {','}','|' Abnormal phenomena: java…… -
[spring MVC] – simple form submission instance
Spring MVC's own form tags are relatively simple and often need to be completed with the help of El and JSTL. The foll…… -
My eclipse port occupation (9360) solution
Solve the problem of port occupation when publishing my eclipse project If the error is as shown in the figure after o…… -
Using java to implement XMODEM protocol
1. Introduction XMODEM is an asynchronous file transfer protocol widely used in serial communication, It is divided in…… -
Java method of producing tree structure JSON data according to database table content
1. Use scenario The organization tree usually has an organization table with fields such as code, pcode and name 2. Co…… -
Java internal classes (anonymous classes, anonymous objects, static internal classes) details and examples
Introduction to internal classes A class defined in another class is called an inner class Member inner class 1.. New …… -
Java uses jdbc driver to connect to MySQL database
Steps for Java to connect to MySQL database using JDBC Driver: 1. Download the driver and import the jar package 2. Lo…… -
Deep understanding of Java exception handling mechanism and Application
1. Introduction Try... Catch... Finally I'm afraid it's a familiar sentence, and it feels very simple to use, and it s…… -
How to implement ArrayList and HashMap by themselves
ArrayList and HashMap The storage of ArrayList is an array, The storage of HashMap is an array plus a linked list, The…… -
JavaMail mail introduction and API overview article 1
Nowadays, e-mail is playing a more and more important role in our life, Almost all of us deal with it (at least from t…… -
Java unzip – unzip multiple file or folder instances
Java decompression zip - multiple files (including folders), as follows: Compress multiple files and folders and decom…… -
Javac commands and Java commands in eclipse
Javac commands and Java commands in eclipse 1、 Javac command of Eclipse: when eclipse is right When saving a Java (so……