Java
-
Volatile in Java cannot guarantee thread safety (example explanation)
Today, I typed the code to study whether the volatile keyword of Java can ensure thread safety. After practice, volati…… -
Detailed explanation of the addition, deletion and modification of linked list for Java description of data structure learning
preface Linked list is a common basic data structure. It is a linear list, but it is not stored sequentially in memory…… -
Java selenium operation browser instance
This article introduces selenium operating browser Reading catalog Browser maximization forward, backward, refresh Scr…… -
Java selenium operation pop-up window example code
How to handle pop ups in selenium Reading catalog principle In the code, through @ h_ 301_ 20@ Set allWindowsId = d…… -
Detailed explanation of using rabbitmq routing in spring boot
In the last tutorial, we created a fan out switch. We can deliver messages to multiple consumers in the form of broadc…… -
Method for realizing timing task with rabbitmq delay queue
scene Timed tasks are often used in development. For shopping malls, there are many timed tasks, such as timed expirat…… -
Example of Java simulating ordered linked list data structure
Ordered linked list: sort by key value. When the chain head is deleted, the minimum (/ maximum) value is deleted. When…… -
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 …… -
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 …… -
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…… -
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 …… -
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…… -
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…… -
Batch import method of Excel table data in Java
Take another look at from JSP page Main interface JSP -
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 …… -
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…… -
Method of realizing automatic page opening with java + selenium
Chat: The first job after graduation is very important. I graduated with a master's degree in June 985, 2015 and began…… -
Example of Java selenium processing elements in iframe
Java selenium handles elements in iframe Sometimes when we locate elements, we find that we can't locate them anyway. …… -
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. …… -
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 …… -
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…… -
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…… -
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…… -
Differences and usage between string and StringBuffer in Java and StringBuilder
Differences and usage between string and StringBuffer in Java and StringBuilder 1. String class The value of string is…… -
Explain in detail the fault tolerance and degradation of spring cloud hystrix circuit breaker
brief introduction Spring cloud provides the hystrix fault-tolerant library to implement the degradation strategy for …… -
Explain the log configuration of spring boot using slf4j + logback
When I was in school, I used java for development. After work, the project team adopted Java Net for development That'…… -
Java — the principle and difference between StringBuffer and StringBuilder
Recently, when I was looking for a job, the examiner asked me a simple question: "what is the difference between Strin…… -
Detailed explanation and usage examples of string builder and StringBuffer in Java
In Android / Java development, there are three classes commonly used to process strings: string, StringBuilder and Str…… -
Detailed explanation of the principle and usage of combination mode of Java design mode
This paper describes the combination pattern of Java design pattern. Share with you for your reference, as follows: Co…… -
Java uses Htmlparser to obtain the specific implementation of the desired code in HTML
In these two days, I need to do something and grab some information from other people's web pages. Finally, HTML parse…… -
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…… -
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……
