A brief introduction to Spring Cloud and a simple introductory example

1 Overview Spring Cloud is based on Spring Boot, which provides several components to help enterprises build micro-service systems. The main functions it provides are: Service Registry/Service Registration/Service Call/Load Balancing/Circuit Breaker, etc. Generally, it uses the existing open source software, which is based on the concept of Spr ...

Posted by colmtourque on Thu, 11 Nov 2021 08:38:49 -0800

Java Database Connection - JDBC Details

Overview of JDBC JDBC (Java Database Connectivity) is a set of interface to connect database provided by Java language. The implementation of interface is called database driver in JDBC and is provided by major database manufacturers. The reason for this is that the user doesn't need to care about how the underlying implementation is imple ...

Posted by jigen7 on Thu, 11 Nov 2021 08:30:54 -0800

PAT (Basic Level) Practice (Chinese) 1058 multiple choice questions (20 points) PAT Level B

PAT (Basic Level) Practice (Chinese) 1058 multiple choice questions (20 points) Title Description It is more troublesome to correct multiple-choice questions. This topic asks you to write a program to help the teacher correct multiple-choice questions and to point out which one has the most errors. Input Format The input gives two positiv ...

Posted by mumford on Thu, 11 Nov 2021 08:19:53 -0800

vue.js Second

1. Filters Concept: vue.js allows for custom filters and can be used as some common text formatting (further processing of data) Filters are only used in two places: mustache interpolation expression, v-bind expression The filter should be added to the end of the JavaScript expression, indicated by the "pipe" symbol (pipe: |) Globa ...

Posted by clairence on Thu, 11 Nov 2021 08:16:37 -0800

Servlet&HTTP&Request Notes

Servlet&HTTP&Request Notes 1. Architecture of Servlet Servlet - Interface GenericServlet - Abstract Class HttpServlet - Abstract Class GenericServlet: Default empty implementation of the rest of the Servlet interface, using only the service() method as an abstraction When defining a Servlet class in the future, you can inherit t ...

Posted by selliott on Thu, 11 Nov 2021 08:13:56 -0800

1, Thread foundation of JUC (source level)

1. Java multithreading related concepts 1. Process It is the second execution of the program and the unique unit of the system for resource allocation and scheduling. Each process has its own memory space and system resources 2. Thread Multiple tasks can be executed in the same process. Each task can be regarded as one thread. Each p ...

Posted by dabas on Thu, 11 Nov 2021 03:03:07 -0800

Front end Development Basics: day02 Vue Basics

Interpolation operation of template syntax (1)v-html inserts HTML text into the tag; (2)v-text inserts ordinary text into the label (the label cannot be parsed); (3)v-pre directly displays the syntax on the interface; (4)v-cloak hides the display of beard syntax on the interface before rendering the data to the page. The code is as follo ...

Posted by duhhh33 on Thu, 11 Nov 2021 02:52:53 -0800

Interviewer: what is the execution order of Spring annotation @ After,@Around,@Before?

There are @ Before, @ After, @ Around, @ AfterRunning annotations in AOP.First up and down their own code, defined the definition of tangent point@Aspect @Component public class LogApsect { private static final Logger logger = LoggerFactory.getLogger(LogApsect.class); ThreadLocal<Long> startTime = new ThreadLocal<>(); ...

Posted by ricerocket on Thu, 11 Nov 2021 02:28:32 -0800

[RT thread learning notes] how to exit QEMU simulator gracefully

This article was originally published by RT thread forum user @ recan: https://club.rt-thread.org/as...1 problem scenarioI believe many people, like me, have just come into contact with RT thread and are on the way to learn RT thread. However, learning an embedded real-time operating system without a hardware development board, in my previous u ...

Posted by Shovinus on Thu, 11 Nov 2021 02:17:56 -0800

Take you in-depth understanding of merging and sorting

Merge sort ๐ŸŽˆ๐ŸŽ†๐ŸŽ‡ preface: 1, Priority queue heap PriorityQueue 2, Deep understanding of fast scheduling and optimization The number of times that merge sort is often tested in the eight sorts can be said to be among the best, and its status is also very high, which can not be ignored. In the sort of quick sort, merge sort and heap s ...

Posted by Froy on Thu, 11 Nov 2021 02:11:57 -0800