Template method pattern

Template method pattern purpose Template method: when the steps are determined and fixed, the details of each step are differentiated in multiple subclasses through polymorphic mechanism, which is the effect that template method can achieve; classification Template method mode: it belongs to behavior mode in design mode; Specific examples ...

Added by daedlus on Thu, 20 Jan 2022 19:00:22 +0200

SpringBoot asynchronous requests and calls

From: Micro reading https://www.weidianyuedu.com/content/0117397506434.html 1, Use of asynchronous requests in Spring Boot** 1. Asynchronous request and synchronous request Synchronization request Asynchronous request Features: you can first release the threads and related resources allocated by the container to the request, reduce ...

Added by borris_uk on Thu, 20 Jan 2022 16:50:21 +0200

Fully understand the static keyword

Preface: we often use the static keyword in Java, so many times we don't know when to use the static keyword, and what is the relationship between the internal logic used by the static keyword and the object? So today we'll talk about the static keyword and understand it in essence. Static: static static can be used to modify: attributes, me ...

Added by pkallberg21 on Thu, 20 Jan 2022 14:36:44 +0200

Enumeration classes in Java

The following are my notes on watching the Java learning video of shangsilicon valley   Enumeration class Class has only a limited number of objects, which is uncertain. Examples are as follows: Monday, SundayGender: man (male), woman (female)Season: Spring Festival... WinterPayment methods: Cash (cash), WeChatPay (WeChat), Alipay (Al ...

Added by Xurion on Thu, 20 Jan 2022 14:07:51 +0200

Python operates MongoDB. Just read this article

prefaceMongoDB is a non relational database written in C + + language. It is an open source database system based on distributed file storage. Its content storage form is similar to JSON object. Its field value can contain other documents, arrays and document arrays, which is very flexible. In this section, let's take a look at the storage oper ...

Added by vitorjamil on Thu, 20 Jan 2022 14:00:31 +0200

Spring Security application practice

summary Spring Security is a framework launched by spring in terms of security. It adopts the design pattern of responsibility chain and is implemented based on Spring AOP and Servlet filter. This article documents some concepts of authentication authorization and how to use it to extend and protect our applications. Concept of authentication ...

Added by mausie on Thu, 20 Jan 2022 13:48:10 +0200

Detailed explanation of two-way leading circular linked list - > attached c language to create linked list code

catalogue 1, What is a two-way circular linked list II Advantages and disadvantages of two-way cyclic linked list III How to create a two-way circular linked list IV Specific code 1, What is a two-way circular linked list Definition: lead two-way circular linked list: the most complex structure, which is generally used to store data sepa ...

Added by cloudbase on Thu, 20 Jan 2022 08:26:42 +0200

The secret of Spring framework

Spring 1. Introduction to spring framework Spring, born in 2002, was created by Rod Johnson. Spring framework is an open source, lightweight project management framework that integrates many design patterns. Committed to JAVAEE lightweight solutions. Compared with the original framework, the spring framework is essentially different fro ...

Added by phpretard on Thu, 20 Jan 2022 06:50:44 +0200

JAVA basic grammar review

1, Operator Arithmetic operators: common in mathematics +,, -, *, /,% and special + +, -. Different types of operations will take the maximum type as the output type-- It is to + 1 and - 1 by itself. Note that i + + is to + 1 after the end of operation i, and + + i is to + 1 i before operating i. public static void main(String[] args) { ...

Added by deception54 on Thu, 20 Jan 2022 02:09:29 +0200

C language beginner level - 2 function

In the last blog, we mentioned the branches and loops of C language. In this blog, I'll share the relevant knowledge of C language functions. Please open your eyes and have a good look (HA HA). When it comes to functions, the first thing we think of is mathematical functions. This very interesting and practical knowledge in the field of math ...

Added by kornlord283 on Thu, 20 Jan 2022 01:49:08 +0200