JDK source code series: thread concurrency coordination artifact CountDownLatch and CyclicBarrier

introduction I have always believed that the program is a logical description of the real world, and in the real world, many things need the coordination and cooperation of all parties to complete. For example, it is impossible to complete the delivery of a platform by only one person, but it needs the cooperation of different roles such as R ...

Added by nick2005 on Mon, 21 Feb 2022 02:15:23 +0200

Enterprise Spring Boot case - Spring Boot upload file (picture)

If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions. Article catalogue 1. Add dependency ...

Added by bacarudaguy on Sun, 20 Feb 2022 21:32:19 +0200

SSM Basics - getting started with Spring

Introduction to Spring framework Overview of Spring framework Spring is an open source design level framework, which solves the loose coupling problem between business logic layer and other layers. Therefore, it runs through the whole system application with the idea of interface oriented programming. Spring is a lightweight java develo ...

Added by usmc on Sun, 20 Feb 2022 21:14:58 +0200

Spring Boot 2.x basic tutorial: getting started

1, IntroductionSpring Boot is a new framework provided by pivot team. It is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer need to define a templated configuration.Spring Boot has the advantages of rapid development an ...

Added by bryansu on Sun, 20 Feb 2022 20:59:25 +0200

Java extension Nginx 7: shared memory

Welcome to my GitHub Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos Overview of this article As the seventh article in the "Java extends Nginx" series, let's learn about a utility shared memory. Before we officially start, let's look at ...

Added by hoyo on Sun, 20 Feb 2022 20:55:44 +0200

Java mainstream framework - (14) spring elastic search

1. Introduction to rocketmq 1.1MQ introduction MQ (Message Queue) Message Queue is a queue used to save message data Queue: a type of data structure characterized by "first in first out" 1.2 what is a message Service requests between servers Original architecture: In the server A Function needs to be called B , C M ...

Added by musclehead on Sun, 20 Feb 2022 20:29:52 +0200

java introduction notes 8

Keyword learning static keyword In a class, member variables declared with static are static member variables, also known as class variables. Class variables have the same life cycle as classes and are valid throughout the execution of the application. It has the following characteristics: It is a public variable of this class and be ...

Added by Xorandnotor on Sun, 20 Feb 2022 20:26:00 +0200

Spring Boot 2.x basic tutorial: sensitive information in encryption configuration

In the previous series of tutorials, we have introduced a lot about the various usages in the Spring Boot configuration file.These configuration related knowledge are provided by Spring Boot natively. The function we will introduce today is not supported by Spring Boot natively, but it is very useful: encryption of configuration content.Why enc ...

Added by pornophobic on Sun, 20 Feb 2022 20:03:55 +0200

In the Java language, will finally be executed?

brief introduction    we all know that finally, as a part of exception handling, it can only be followed by a statement block immediately after the try/catch statement, indicating that this statement will be executed in the end "under normal circumstances" (whether there is an exception thrown or not), which is often used w ...

Added by lance1208 on Sun, 20 Feb 2022 19:54:54 +0200

Multithreaded notes

Multithreading Create thread There are three ways to create threads Inherit the Thread class and override the run methodImplement Runnable interfaceImplement Callable interface Inherit Thread class Inherit the Thread class and override the run method package Thread; public class MyThread extends Thread{ @Override public void run( ...

Added by pedrolopes10 on Sun, 20 Feb 2022 19:12:20 +0200