Java
-
Explain the loading order of classes in Java
This article introduces the loading sequence of classes in Java. Let's see the detailed introduction below: 1. When th…… -
A simple example of Java judging the length of Chinese string
Don't say much, code: The above simple example of Java judging the length of Chinese string is all the content shared …… -
Spring websocket sample explanation
scene Websocket is one of the newly added features of HTML5. Its purpose is to establish a full duplex communication m…… -
The Jackson framework of Java can easily convert JSON
Jackson can easily convert Java objects into JSON objects and XML documents. He can also convert JSON and XML into Jav…… -
Java removes simple instances of duplicate objects
Examples are as follows: Solution idea: create a temporary container ArrayList to store non duplicate objects. Input n…… -
SSH combined with jQuery to achieve three-level linkage effect
This example shares the specific code of jQuery to realize three-level linkage for your reference. The specific conten…… -
Detailed explanation of Java single test void type method
preface When we learn Java, teachers or ordinary books say that there are eight basic types of Java. They are byte, in…… -
The mybatis interceptor implements paging
Final Dao layer result: The next step is to implement paging step by step. I To create a page object: It can be found …… -
An example of paging using hibernate and struts 2
Thinking of learning a new thing every day, I prepared this hibernate + struts 2 to realize the page paging function. …… -
Detailed explanation and example code of Java timer (timer, TimerTask)
Java timer The two classes used to implement the timer function in Java are timer and TimerTask Timer class is a class…… -
Implementation of distributed timed task framework based on Spring + quartz
Problem background Our company is a fast-growing start-up company with 200 people. Its main business is related to tou…… -
Summary of Java methods for obtaining file extensions [regular and string interception]
This paper describes the method of obtaining file extension in Java. Share with you for your reference, as follows: Pr…… -
Perfect solution for Java Lang.outofmemoryerror handling errors
Reasons: the following are common: 1. The amount of data loaded in the memory is too large, such as taking too much da…… -
Using cookies to remember user’s account and password in Java Web
The function of remembering the account and password needs to be used in the graduation project. I found a solution on…… -
Spring MVC construction and configuration details
Now the mainstream web MVC framework is spring MVC in addition to struts. Therefore, this is also the mainstream frame…… -
Java callback method details
Callback is defined in Wikipedia as: In computer programming, callback function refers to the reference of an executab…… -
Detailed explanation and simple example of cookie in Java
Detailed explanation of cookies in Java The operation of cookies in Java is relatively simple. It mainly introduces th…… -
Detailed explanation of scala applet and example code
Detailed explanation of scala applet 1. interactive mode In the command line window, enter the scala command: First …… -
15 top Java multithreaded interview questions (with answers)
Multithreading and concurrency issues are an essential part of any Java interview. If you want to get a front desk inf…… -
Summary of six principles and one rule of java object-oriented
1. Single responsibility principle: one kind only does what it should do. 2. Richter substitution principle: a subclas…… -
Summary of six principles and one rule of java object-oriented
1. Single responsibility principle: one kind only does what it should do. 2. Richter substitution principle: a subclas…… -
Detailed explanation of XML configuration in mybatis
Mybatis commonly uses XML configurations with caching disabled Mybatis is fully configured as follows: Mybatis officia…… -
Implementation of Java websocket and sample code of spring websocket
Start learning websocket, and prepare to use it to realize a log that outputs log4j in real time on the page and the l…… -
Method of parsing excel file with Java
The POI package needs to be imported before the project is established. Download address of POI related jar package: h…… -
Writing method and simple use of mybatis configuration file
First meeting mybatis At first, Apache had an open source project of Batis, which was put in Google Code. Later, it wa…… -
Java Web export data to PDF format file code snippet
The effect of this clip is: after accessing this request, the browser will open a new interface and display the PDF fi…… -
Example code of mybatis interceptor for processing query parameters and query results
Now let's introduce the query parameters and query results processed by mybatis interceptor. The specific code is as f…… -
Design of Java Web personal address book system
Now start the screenshot: Paste the code below: The first is the directory structure: index. jsp <%@ page language=…… -
Detailed explanation of encryption and decryption function implemented by Java based on DES symmetric encryption algorithm
This paper describes the encryption and decryption function of Java based on DES symmetric encryption algorithm. Share…… -
Detailed explanation and examples of Java statement block
Java statement block I still remember when I first read the programming books of C, C + + and Java, there was an intro…… -
Detailed explanation of three methods of converting list into map in Java
Detailed explanation of three methods of converting list into map in Java In this article, we introduce three methods …… -
Deep understanding of spring multi data source configuration
We often encounter the problem of multiple data sources in projects, especially in projects such as data synchronizati……
