Java
-
Deep analysis of Java exceptions
Java exceptions are divided into two categories: checked exceptions and runtime exceptions. Checked exceptions are exc…… -
A simulation example of train ticketing system based on Java multithreading
1. Preface In order to learn multi-threaded sharing and communication, we simulate a train ticketing system, assuming …… -
Explain in detail the four ways spring loads the properties configuration file
1、 Load the configuration file through the context: Property placeholder tag 1. Usage example: in spring Add tags to …… -
Zuul gateway service of spring cloud
Why do I need a gateway? We know that we want to enter a service itself. Obviously, we don't have a particularly good …… -
Java code practice 12306 ticketing algorithm (II)
On Friday, I had nothing to do. Based on the previous article on the analysis of 12306 ticket selling algorithm (Java …… -
Explain how to load the properties configuration file using spring
I remember that when writing a web project, the reading of the configuration file was completed with the class propert…… -
Spring boot uses rabbitmq to implement topic topics
In the previous article, we implemented the flexible configuration of the message system. Instead of using the fan out…… -
Method of batch importing Excel data using POI in Java
1、 Definition Apache POI is an open source function library of the Apache Software Foundation. POI provides APIs for …… -
Implementation method of Java selenium using browser debugging tool
In UI element - based automated testing, both desktop UI automated testing and Web UI automated testing First, we need…… -
Five keywords for Java exception handling
Exceptions: some exceptions are caused by user errors, some are caused by program errors, and others are caused by phy…… -
Sample code of Java using SFTP to download files regularly
Introduction to SFTP SFTP is the abbreviation of secure file transfer protocol, a secure file transfer protocol. It ca…… -
Java selenium operation pop-up dialog box example explanation
Web developers usually need to use JavaScript pop-up dialog boxes to give users some information tips, including the f…… -
Double linked list design and implementation of Java data structure and algorithm
In the single linked list analysis, we can know that each node has only one next field pointing to the successor node.…… -
Batch import method of Excel table data in Java
Take another look at from JSP page Main interface JSP -
Java multi thread simulation ticketing program and thread safety
In the knowledge of threads in Java, the ticketing program is very classic. There are also some problems in the progra…… -
Spring boot integration rabbitmq sample code
Introduction to rabbitmq Rabbitmq is a complete and reusable enterprise message system based on AMQP The full name of …… -
Feign declarative service invocation in spring cloud
In the previous article, we can find that when we call the APIs of other services through resttemplate, the required p…… -
Java exception tracking stack definition and usage example
This article describes the definition and usage of Java exception tracking stack. Share with you for your reference, a…… -
Explain spring cloud hyperstrix request cache in detail
Hystrix supports caching the results of one request, and the next request with the same key will directly fetch the re…… -
Parsing HTML file instances using open source library jsoup in Java
Html is the core of web. All the pages you see on the Internet are HTML, no matter they are dynamically generated by J…… -
Spring boot uses @ async asynchronous call: detailed explanation of elegant shutdown of threadpooltaskscheduler thread pool
preface Previously, I shared an article about using @ async to implement asynchronous tasks and thread pool control in…… -
Spring cloud uses hystrix to realize the method of service fault-tolerant protection of circuit breaker
In microservices, we divide the system into many service units, which are interdependent through service registration …… -
About selenium’s UI automation test screenshot function example code
During the execution of UI automation test, when the inspection fails, it is often found that the printed log can not …… -
Explanation of selenium’s efficient response to web page element refresh
When we do selenium on the page Type () or selenium When clicking (), we often need to wait for an element to appear. …… -
Detailed explanation of dyeing steamed bread case based on decorator mode in Java
This paper describes a case of dyed steamed bread implemented in Java based on decorator mode. Share with you for your…… -
Differences and usage of string, StringBuffer and StringBuilder in Java
1 Introduction In the Java language, there are eight basic data types: byte, short, int, long, float, double, Boolean …… -
Deeply analyze the difference between StringBuffer and StringBuilder
String and StringBuilder are often used in projects. String can be spliced with "+" and StringBuilder can be spliced w…… -
Source code analysis of Java StringBuilder and StringBuffer
StringBuilder and StringBuffer are two commonly used classes for operating strings. As we all know, StringBuilder is t…… -
Java uses bridge mode to realize the functions of switch and electric lamp lighting
This article illustrates how Java uses bridge mode to realize the functions of switch and electric lamp lighting. Shar…… -
Sample code of Java selenium intelligent waiting for page loading to complete
Java selenium intelligently waits for the page to load We often encounter when using selenium to operate an element on…… -
String, StringBuilder and StringBuffer for JDK source code analysis
preface This article mainly introduces the relevant contents of string, StringBuilder and StringBuffer of JDK source c…… -
Explain in detail the request merging of hystrix in spring cloud
In the microservice architecture, we split a project into many independent modules. These independent modules work tog……
