Java
-
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 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 <…… -
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…… -
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 …… -
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…… -
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…… -
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…… -
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…… -
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 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,…… -
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…… -
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…… -
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…… -
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…… -
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…… -
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 …… -
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…… -
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 …… -
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…… -
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…… -
Spring and mybatis integration profile
Recently, because the project requires the integration of Spring + mybatis architecture for project development, the r…… -
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…… -
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…… -
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…… -
Explain the configuration and use of spring boot actuator in detail
In a production environment, the availability of services needs to be monitored in real time or on a regular basis. Th…… -
Hadoop upload file function example code
Files on HDFS are uploaded to HDFS from local Linux by manually executing commands. In the real running environment, i…… -
Java method example of sending HTTP request through httpclient
Introduction to httpclient Httpclient is not a browser. It is a client HTTP communication implementation library. The …… -
Adapter pattern of design pattern in Java
Adapter pattern of design pattern in Java preface: The adapter pattern can apply a class or interface to another diffe…… -
Deep understanding of Java annotations and examples
Java annotation What is annotation? Annotations in Java are the metadata of Java source code, that is, annotations ar…… -
The Java program is packaged into a jar file with parameters and the instance code
Here, we use Apache commons cli to complete the target function. Without much nonsense, we can directly use the code R…… -
Spring’s programmatic and declarative transactions
Entrance (understand some basic concepts) Spring transaction properties (what are the properties of transactions?) We …… -
Detailed explanation of Java data structures and algorithms (ordered array and binary search)
1、 Overview Binary search is often used in ordered arrays, which can improve the speed of search. Today, we use seque……