Java
-
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…… -
Deep understanding of spring AOP
I preface In previous projects, I seldom paid attention to the specific implementation and theory of spring AOP. I jus…… -
Composite of Java design patterns
summary It is a structural mode, which organizes objects in a tree structure to represent the "part whole" hierarchy, …… -
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 IO is an example of computer search and deletion
I Recursive method @ h_ 301_ 4@ 1. Recursion is to call its own method on the premise that there is a method. 2. Recur…… -
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…… -
Play spring boot with angularjs and JDBC (4)
Refer to official examples: http://spring.io/guides/gs/relational-data-access/ -
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…… -
Solve the problem of Java Lang.exceptionininitializererror error problem
Solve the problem of Java Lang.exceptionininitializererror error problem Start a project today An error is reported wh…… -
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=…… -
Explain in detail how Java obtains the file encoding format
1: Simply judge whether it is UTF-8 or not. Because it is generally GBK except UTF-8, it is set to GBK by default@ H_ …… -
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 of Java backend to realize unified code scanning payment: wechat
Recently I finished a project and just had nothing to do. The product manager arranged a task for me. Make a function …… -
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…… -
Java encryption and decryption function example based on AES symmetric encryption algorithm
This paper describes the encryption and decryption function of Java based on AES symmetric encryption algorithm. Share…… -
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 …… -
Detailed explanation of symmetric encryption using Java (DES, 3DES, AES)
There are two sentences: 1) Algorithms and data structures are an important part of programming. If you lose algorithm…… -
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…… -
Java decimal to binary, octal, hexadecimal string
Decimal to binary class DecToBin { public static void main(String[] args) { //System.out.println("Hello Worl…… -
Collection of Java interview questions and answers (122 basic questions and 19 code questions)
A collection of java basic interview questions and answers (122 basic questions and 19 code questions). The details ar…… -
Detailed explanation of Java chart class library
abstract In the development of background sites using Java, chart and report functions are indispensable. This paper r…… -
Detailed introduction and simple example of Java base64encoder
Detailed explanation of Java base64encoder Base64 is one of the most common encoding methods for transmitting 8bit byt…… -
Method of mutual conversion between Java object and JSON object
The jar package required in the project is not easy to find on the Internet, so I put it in my network disk and downlo…… -
Quick sorting example of Java sorting algorithm
This paper describes the implementation method of Java quick sorting. Share with you for your reference, as follows: I…… -
Analysis on the method of operating bytecode in Java bytecode framework ASM
We have introduced ASM in detail before. If you need it, you can click here: in depth study of Java bytecode framework…… -
Common code block, construction code block, static code block, differences and code examples in Java
Common code block, construction code block, static code block, differences and code examples in Java //Execution order…… -
Summary of java file reading methods
This example shares the method of reading files in Java for your reference. The specific contents are as follows 1. Re…… -
Explain in detail the Chinese garbled code problem of JSON data returned by spring mvc3 and solve it
After checking some information on the Internet, I feel more complicated. Here, I use two very simple methods to solve…… -
Explain in detail how to use redis setnx command to realize distributed lock
Distributed locks can be implemented by using the setnx command of redis. The implementation method is described below……