Java
-
Simple use of zookeeper in Java
1、 Fundamentals of zookeeper The data model is as follows: The structure of zookeeper data model is very similar to U…… -
Detailed explanation of HBase and hive data synchronization
Hive's table data can be synchronized to impala. Generally, impala provides real-time query operations, such as time-c…… -
Java design pattern – proxy pattern (example explanation)
Proxy pattern is one of the most common design patterns in Java. Spring's AOP uses the proxy mode. Generally speaking,…… -
Spring boot method for reading static resource files
1、 Demand scenario Sometimes we need to use some static resource files in the project, such as the city information f…… -
SSM framework construction graphic tutorial (recommended)
I've been thinking about building an SSM framework for a long time. It's convenient for me to use it in the future. Ho…… -
Java implements a tool class instance that translates digital dates into English words
This example describes the Java implementation of the tool class to translate digital dates into English words. Share …… -
Solution to the problem that struts and servlet cannot coexist
In a project, if we use both struts 2 and servlet, we may not be able to access the servlet normally when the project …… -
Introduction to struts 2 intercepting string code
During development, we often encounter the problem that the string is too long and needs to be intercepted and display…… -
Installation of java9 learning series and use of jshell
preface With the update of the standard Java version, developers can always get the desired functions from the upgrade…… -
Java9 Learning Series how to run java9 in docker
Preface @ h_ 419_ 5@ This article will give you a detailed introduction to how to run java9 in docker, and share it fo…… -
Java polymorphism definition and usage examples
This article describes the definition and usage of Java polymorphism with examples. Share with you for your reference,…… -
Method of converting excel table into JSON by Java
Today, a friend of mine asked me if there was any way to use Excel and JSON everywhere. I found several tools on the I…… -
An example of stack and queue in Java data structure
An example of stack and queue in Java data structure Stack and queue are two important linear data structures, which s…… -
Typical case of java interface implementation
No more nonsense, go straight to the code The above typical case of java interface implementation is all the content s…… -
Detailed explanation of simple factory pattern of Java design pattern
Simple factory mode: a factory object determines which kind of instance to create. 1. Abstract class 2. Specific categ…… -
Java export JSON format file sample code
This article introduces the sample code of Java exporting JSON format files and shares it with you. The details are as…… -
Realization of positive film lamination effect in java image processing tutorial
preface This article mainly introduces the method of how to realize the positive film stacking effect by using Java, a…… -
Mybatis batch modification operation code
1. The modified field values are the same, but the IDs are different Collection: if it represents a type, it is writte…… -
Java non blocking I / O usage
Most of the knowledge and examples come from O'Reilly's Java network programming, Fourth Edition, by elliotte rusty Ha…… -
An example of how Java uses regular expressions to get sub text
This article illustrates how Java uses regular expressions to get sub text. Share with you for your reference, as foll…… -
Struts 2 method of realizing permission control through custom tags
Recently, I encountered a demand in development: whether to display an operation button according to the user's permis…… -
In mybatis analysis
When using mybatis, our SQL is written in the XML Mapping file. If there are some special characters in the written SQ…… -
Java takes methods as parameters — instances of polymorphism
When studying the intelligent algorithm in the previous paragraph, I found that if it is implemented in Java, the spec…… -
Spring and mybatis integration profile
Recently, because the project requires the integration of Spring + mybatis architecture for project development, the r…… -
Detailed explanation of the builder pattern example of Java design pattern
This paper describes the builder pattern of Java design pattern. Share with you for your reference, as follows: The bu…… -
Spring security custom decision Manager
First, introduce the decision manager of spring. Its interface is accessdecisionmanager and its abstract class is abst…… -
Detailed explanation of three simple implementation methods of Java countdown
After writing JS countdown, I suddenly want to use java to realize the countdown. I wrote three implementation methods…… -
Spring MVC file upload sample code
As always, record common and easy to forget things. This blog post is mainly about how spring MVC uploads files. The f…… -
Spring security custom login page
In the project, we certainly can't use the login page generated by spring, but use our own login page. Let's talk abou…… -
An instance of list segmentation in Java
An instance of list segmentation in Java Problem: suppose system a finds a large list, and now system B wants to get t…… -
Dead loop of Java non static member variables (detailed explanation)
1. Non static member variable 翻译错误 TIMEOUT example: result: Analysis: when new constructorcls() instantiates const…… -
Explain the integration of spring and Shiro in detail
Shiro's components are JavaBean / POJO components, so it is very easy to use spring for component management. It is ve……
