Java
-
23 design patterns (6) Java Decorator Pattern
23 design patterns Part 6: Java Decorator Pattern definition: Dynamically extend the function of an object without cha…… -
23 design patterns (5) Java adapter pattern
23 design patterns Part 5: Java adapter pattern definition: Convert the interface of a class into another interface th…… -
On the three states and transformation relationship of Java entity objects
In the latest hibernate document, four states are defined for hibernate objects (originally three states, and basicall…… -
Insertion sorting of Java data structures
Insert sort is to insert the elements to be sorted into an ordered list. A very vivid example is to grab a poker card …… -
Close the hook through JDK source code analysis
shutdown hook When users close the application, they need to clean up the aftermath, but the problem is that some use…… -
Struts 2 implements the interception operation method of action request object
The core function of struts 2 is action. For developers, using struts 2 is mainly to write action. Action classes usua…… -
How to create a JDBC program in Java
Introduction to JDBC Before JDBC, we use drivers to establish connections between Java programs and databases such as …… -
Introduction to hashcode method in Java
The data structure of hash table must be familiar to most people, and hash table will be used in many places to improv…… -
Method of creating a server using spring boot embedded container undertow
Undertow is a web server, so it needs to have the basic characteristics of modern web server, such as servlet, JSP, fi…… -
Detailed explanation of Maven configuration dependency of spring boot
This paper introduces the Maven configuration dependency of spring boot and shares it with you as follows: We add spri…… -
The concept, classification and usage of container in java development are explained in detail
This paper describes the concept, classification and usage of container in java development. Share with you for your r…… -
Case analysis of spring boot email sending function
Introduction to mail service Mail service has appeared in the early days of the Internet, and now it has become an ind…… -
Example of application packaging deployment implemented by spring boot
1. Spring boot built-in web Spring boot is integrated into the web container by default. The startup method is started…… -
POM in Maven XML detailed introduction
POM represents the engineering object model. It is the basic build when working with Maven and is an XML file. It is p…… -
Detailed introduction to spring batch tutorial (with source code)
Spring batch is an open source batch processing framework Perform a series of tasks In spring batch, a job consists of…… -
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…… -
Detailed explanation of smooth closing of Message Queue task in Java
preface Message Queuing Middleware is an important component in distributed system. It mainly solves the problems of a…… -
Examples of simple implementation of UDP and TCP in Java
TCP implementation TCP protocol needs to establish a connection between both parties and exchange data through input a…… -
Detailed explanation of variables and constants in Java
variable and constant There are a lot of data in the program to represent the state of the program. Some data will ch…… -
Code examples of seven ways of thread synchronization in Java multithreading
Why use synchronization? Java allows multithreading concurrency control. When multiple threads operate a shareable res…… -
Java designer pattern simple factory pattern parsing
brief introduction Simple factory mode is also called static factory method mode. Simple factory mode usually defines ……