Java
-
On guard thread and user thread in Java
Java threads are divided into two types: daemon threads and user threads (user thread), the main function will be call…… -
Struts 2 realizes projection through ognl expression
Projection: as the saying goes, it is filtering, that is, the filter filters out the qualified ones struts. xml: OgnlA…… -
Implementation method of eclipse automatic prompt and automatic completion function
Solve the automatic prompt problem of code: 1. Open eclipse - > window - > preferences 2. Find the content assis…… -
Maven configuration in windows and project creation instance in IDE
Maven configuration under Windows 1. Maven download address: http://maven.apache.org/download.cgi , download the versi…… -
On Java fork / join parallel framework
Preliminary understanding of fork / join framework Fork / join framework is a parallel task framework added to java7. …… -
DES encryption and decryption tool class instance implemented in Java
This article describes the DES encryption and decryption tool class implemented in Java. Share with you for your refer…… -
Comparison of two object attributes based on Java
There are two ways to compare two objects: 1. Case 1: when you just judge whether two objects are equal, you just need…… -
An in-depth analysis of the advantages of HBase
HBase is a NoSQL database running on Hadoop. It is a distributed and scalable big data warehouse. In other words, HBas…… -
Usage of mongodb in spring boot project
preface As we all know, MySQL database is easy to use, but the amount of data is more than ten million. It is very pai…… -
Java is a simple instance of reading and outputting from a file
Input with scanner and output with printstream Function: from in Txt read in and output to out txt code: Same as below…… -
Solve problems encountered in Java wrapper class comparison
preface This article mainly introduces the solutions to some problems encountered in the comparison of Java packaging …… -
Spring boot + drools rule engine integration details
objective Most of the official drools examples are based on pure Java projects or Maven projects, while few are based …… -
Java API of HBase access mode
Access mode of HBase 1. Native Java API: the most conventional and efficient access method; 2. HBase shell: the comman…… -
Servlet download file implementation code details (V)
This example shares the specific code of servlet download file for your reference. The specific contents are as follow…… -
How Java uses reflection to find classes using specified annotations
preface I'm a little empty recently. I want to write an annotation like the annotation in spring, and then I hope to f…… -
Servlet forwarding, including detailed explanation (VII)
This paper introduces servlet forwarding and servlet inclusion for your reference. The specific contents are as follow…… -
Fetch = fetchtype in hibernate Lazy lazy loading failure handling method
For this lazy loading problem, the final approach is to use a hibernate support class provided by spring. Its main mea…… -
Java implementation of wechat applet login status maintenance example code
I believe many friends who like development already know what kind of wechat applet is. The landlord has been paying a…… -
Explain in detail the difference between spring boot deployment jar and war
This article introduces the differences between spring boot deployment jar and war and shares them with you as follows…… -
Solve the problem that spring MVC multi data source switching does not support transaction control
A project needs to use two databases, Oracle and MYSQL, so refer to various blogs to realize this function. After writ…… -
Example of inverse matrix algorithm implemented in Java
This paper describes the inverse matrix algorithm implemented in Java. Share with you for your reference, as follows: …… -
Java implementation to construct infinite hierarchical tree menu
Here, let's talk about how the background Java constructs a multi tree, so that the foreground can receive data and re…… -
Example of n * n matrix evaluation and inverse matrix algorithm implemented in Java
This paper describes the n * n matrix evaluation and inverse matrix algorithm implemented in Java. Share with you for …… -
Explain in detail how to write and run spark applications in Java
We first put forward such a simple requirement: Now we need to analyze the access log information of a website and cou…… -
How to use transactionattributes in spring configuration
Recently, I encountered this problem. When using the jpatemplate provided by spring for query, if the amount of data e…… -
Java example of reading web page content
Java example of reading web page content The above code program reads the source code of a web page, including HTML an…… -
Struts 2 dynamic result set code example
The dynamic result set can specify the page to jump to in the action (${} is an ojnl expression, not an EL expression)…… -
Spring boot custom 404 error message method example
preface This article will give you a brief introduction to how to personalize 404 error information in springboot and …… -
Java calls 7zip to decompress an instance of the compressed package
preface Recent projects need to use the function of decompressing the package. The format of the compressed package gi…… -
Introduction to Hadoop components
Install HBase First download the latest stable version of HBase http://www.apache.org/dyn/closer.cgi/hbase/ file:///ho…… -
Detailed explanation of struts 2 using ognl to traverse map
I Code in action: mapaction java II Front end test page: testmap jsp Java code Attachment: the type of map is map <…… -
Analysis of exception handling mechanism in struts 2
Because an exception is thrown when the execute method of action is declared, we don't need to catch the exception in ……
