Java
-
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…… -
Detailed steps to close Alipay’s confidential payment procedures
As one of the most commonly used applications in our daily life, Alipay has become the virtual wallet of people. But r…… -
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…… -
JSON parsing and serialization using Jackson in Java
Common JSON class libraries under Java include gson, JSON lib and Jackson. Jackson is relatively efficient. Jackson is…… -
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…… -
JSP, struts, spring and mybatis to realize the modular splitting of front-end page functions
Front end page function modular split When a system has many functions, it is impossible to write the pages of all fun…… -
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…… -
Spring MVC — detailed explanation of data binding and form tags
Data binding and form labels Data binding Data binding is a feature that binds user input to the domain model. In the …… -
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…… -
Overview and implementation steps of picture verification code
I Picture verification code overview: Many websites have this implementation effect: In order to improve the security …… -
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 …… -
Java regular expression to extract the required characters and put them into the array [ArrayList array de duplication function]
This example describes the implementation of Java regular expression to extract the required characters and put them i…… -
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. …… -
Using log4j to output logs of different packages to different files
preface With the increasing scale of the project, new modules will be introduced continuously. Different modules will …… -
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…… -
Fast JSON in Java generates and parses JSON data (serializes and deserializes data)
This article explains two points: 1. Fastjson generates and parses JSON data (for example: four common types: JavaBean…… -
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…… -
Method example of binary processing based on shift operation in Java
This paper describes the method of binary processing based on shift operation in Java. Share with you for your referen…… -
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…… -
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…… -
Several algorithms of Java symmetric encryption are implemented respectively
Java symmetric encryption is implemented using DES / 3DES / AES algorithms There are two sentences: 1) Algorithms and …… -
Delete element instance code in linked list of Java data structure
Java delete elements in linked list The following example demonstrates using the clear() method to delete elements in …… -
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…… -
Java sorts list collections sort()
Sort the objects in a collection, and sort them in ascending or descending order according to the size of an indicator…… -
Explain in detail that the Java client can’t link to the redis solution
Problem Description: 1.Could not get a resource from the pool,Connection refused: connect The windows java client link…… -
Detailed explanation of XML configuration in mybatis
Mybatis commonly uses XML configurations with caching disabled Mybatis is fully configured as follows: Mybatis officia…… -
JDBC connection to Oracle database function example
This paper describes the function of JDBC linking Oracle database. Share with you for your reference, as follows: I ho…… -
Detailed introduction and summary of java reflection mechanism knowledge
This article will describe the knowledge of reflection from the following aspects: 1、 What is a class In the object-o…… -
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…… -
Deep analysis of Java disassembly box
Let's start with a code: Guess what? Many people will think that the results are all true, but that's not the case tru…… -
Calculates the maximum public substring of two strings
background There has been little application of algorithms. Recently, I saw some typical algorithms and wanted to prac…… -
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……