Java
-
Panel switching in Java singleton mode
This example shares the specific code of panel switching in Java singleton mode for your reference. The specific conte…… -
On the best practice of spring batch in large enterprises
In large enterprises, not all operations can be processed through the interactive interface due to complex business, l…… -
Heap sorting code example of Java algorithm
Heap is a special complete binary tree, which is characterized by that all parent nodes are smaller than child nodes, …… -
Summary of the concept, principle and usage of java reflection mechanism
This paper describes the concept, principle and usage of java reflection mechanism with examples. Share with you for y…… -
When debugging in eclipse, you can’t view the variable value when hovering over the mouse. Solution
Problem Description: in debug mode, eclipse does not automatically display the corresponding value of a variable when …… -
Reasons for choosing an embedded container for spring boot projects
Spring boot is a new framework provided by pivot team. It is designed to simplify the initial construction and develop…… -
Summary of recursive algorithms in Java programming
1. What is recursion Personal understanding is to call yourself until a condition is met to end the process. This is r…… -
Solution to the dependency problem of creating project package by spring boot
Today, I tampered with the spring boot. According to the case on the official website, I found that there was a proble…… -
Explain in detail some small problems encountered when configuring spring boot actuator
preface Spring boot actuator is a monitoring component provided by spring boot. You only need to add dependencies in t…… -
Implementation of BlockingQueue for Java Concurrent learning
1. Introduction Blocking queue is a Java util BlockingQueue, an important data structure under concurrent package, pro…… -
Publish the spring boot project to the Tomcat container (including the methods published to Tomcat6)
Because spring boot is embedded with Tomcat container, the project can be published by packaging it as a jar package, …… -
Solution to the problem of options forbidden 403 in spring cloud
Abstract: This paper briefly describes the problem of options requesting forbidden when bloggers need cross domain deb…… -
Java based on jedislock redis distributed lock implementation example code
What is a distributed lock? The concept of stand-alone lock: it is easy to lock a normal stand-alone project (i.e. run…… -
Servlet3 file upload operation
In servlet2 In 5, when we want to realize the file upload function, we generally need to use third-party open-source c…… -
Java programming — consider polymorphism in testing
Object oriented programming has three characteristics: encapsulation, inheritance and polymorphism. Encapsulation hide…… -
JAVA Chinese word segmentation forward maximum matching method example code
preface Dictionary based forward maximum matching algorithm (longest word first matching). The algorithm will automati…… -
Detailed explanation of IOC and Di of spring
Here is a brief introduction to the difference between IOC and di: IOC: the translation is control inversion. Spring m…… -
Java implements the same DES encryption and decryption algorithm as JS
This article describes the Java implementation of the same DES encryption and decryption algorithm as JS. Share with y…… -
Detailed explanation of the differences between jsonobject and jsonarray in Java
In several recent projects developed by the company, the data transferred from the background action to the front end …… -
Usage of spring @ profile annotation
This article mainly introduces how to use @ profile in spring and under what circumstances. First, let's talk about wh…… -
Java improvement Part 10 in-depth analysis of ArrayList
In the previous chapter, we introduced the class diagram of the collection. In this section, we will learn the most co…… -
Java improves Part 8 dynamic agent technology
For dynamic agents, those who have learned AOP should not be unfamiliar, because agents are the core and key technolog…… -
Servlet 3 upload file uploading practice in Java Web
In the version before servlet 3.0, file upload is a headache. Although it is implemented by a third-party framework, i…… -
Visitor pattern usage scenario and code example of Java design pattern
Java design pattern visitor pattern Model concept Visitor mode represents an operation that acts on the elements in an…… -
How to create and run a java thread
To interpret a thread, you must understand what a process is. What is a process? A process refers to a running applica…… -
Java encryption and decryption rsa usage code example
Recently, in order to analyze a request flow, I had to study RSA encryption. First of all, emphasize that the "key" of…… -
Detailed explanation of design process under MVC + DAO design mode
DAO design: The DAO layer is mainly responsible for the data persistence layer. Some tasks that are responsible for co…… -
Spring boot integration rabbitmq example tutorial
1、 Introduction to rabbitmq Rabbitmq is a kind of message middleware, which is the basic software to send and receive…… -
Correct posture using the optional mechanism in Java 8
preface The functional programming features brought by Java 8 still have some obstacles for programmers who are used t…… -
Struts 2 international implementation of the website as a whole Chinese and English switching example code
This paper introduces the international implementation of struts 2. The example code of the overall Chinese-English sw…… -
Detailed explanation of Hibernate + jdbc implementation of batch insertion, update and deletion
This paper describes the method of batch insertion, update and deletion with hibernate JDBC. Share with you for your r…… -
Java implementation traverses the tree menu to realize code sharing
The text mainly shares the example code of traversing the tree menu in Java, as follows. Opensessionview implementatio……