包含标签:Java 的文章
-
Explain Java modifiers
The Java language provides many modifiers, which are mainly divided into the following two categories: Modifiers are u…… -
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…… -
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…… -
Detailed explanation of Java HttpServletRequest and httpservletresponse
Detailed explanation of Java HttpServletRequest and httpservletresponse Recently, due to the re encapsulation of CAS r…… -
Mybatis implements batch update (Oracle and MySQL)
Batch updates of Oracle and MySQL databases are configured differently in mybatis: Oracle Database: Mysql database: Th…… -
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…… -
Explain various applications of java reflection in detail
In addition to providing us with all kinds of information about the class at compile time, Java also allows us to get …… -
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…… -
Detailed explanation of flow object selection law in Java programming
Examples are as follows: The above is a detailed explanation of the flow object selection law in Java programming brou…… -
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…… -
Explain the five ways to let you read the contents of the properties file in Java is no longer a problem
1、 Background Recently, in the process of project development, some custom variables need to be defined in the proper…… -
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…… -
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…… -
A method of extracting data using regular expressions in Java
What is a regular expression Regular expressions are specifications that can be used for pattern matching and replacem…… -
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…… -
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…… -
Example code of redis operation using jedis in Java
Using java to operate redis requires jedis-2.1 0.jar, download address: jedis-2.1 0.jar If you need to use redis conne…… -
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…… -
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 …… -
JavaWeb session expiration time setting method
The session expiration time setting method is as follows: 1、 Java code <-- Priority is highest -- > 2、 Web xml…… -
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 …… -
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…… -
Java uses IO stream to split and merge large files
Java uses IO stream to split and merge large files File segmentation should be a practical function. For example, you …… -
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 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…… -
[redis caching mechanism] detailed explanation of Java connection to redis_ Jedis_ affair
Jedis transaction When we use JDBC to connect to MySQL, we need to start the transaction every time before executing t…… -
Using java to implement XMODEM protocol
1. Introduction XMODEM is an asynchronous file transfer protocol widely used in serial communication, It is divided in…… -
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…… -
Detailed explanation of java thread (thread, runnable, callable) examples
Java thread vs. thread, runnable, callable Java uses thread class to represent threads. All field objects must be inst…… -
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…… -
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…… -
[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……