Wechat public platform development -- fill in the server configuration and verify the effectiveness

1. Preface As mentioned in the previous article, wechat will send user messages to the server designated by us (developers). Therefore, we need to fill in our server information through wechat public platform so that wechat can forward messages to us. In addition, wechat will also verify whether the server information we fill in is corre ...

Posted by urb on Sat, 25 Sep 2021 12:58:15 +0200

Security login authentication process analysis

Recently, when I was writing my graduation project, I used this framework. My partner gave me a demand for multiple login methods. He said that only account and password login were not very good, and asked me to add several methods, such as SMS authentication login, email authentication login, third-party login, etc. (the first two have been im ...

Posted by James138 on Sat, 25 Sep 2021 12:30:40 +0200

RocketMQ source code analysis [3] Broker startup process source code analysis

entrance The source code entry for Broker startup is BrokerStartup.java Core process The main process is similar to NameServer startup Create broker controllerStart the BrokerController public static void main(String[] args) { start(createBrokerController(args)); } public static BrokerController start(BrokerController ...

Posted by Domhnall on Sat, 25 Sep 2021 12:15:14 +0200

20 API 1-2 regular expression packing class auto boxing / Auto unpacking BigDecimal

1 regular expression Regex 1.1 general Correct string format rules. It is often used to judge whether the content entered by the user meets the format requirements. Note that it is strictly case sensitive; 1.2 common syntax 1.3 String provides methods to support regular expressions Matches: can the current string match a regular expressi ...

Posted by phence on Sat, 25 Sep 2021 11:53:16 +0200

Introduction to thymeleaf of springboot

Introduction to thymeleaf of springboot Because JSP cannot be parsed in the compressed package, spring boot does not support JSP by default. Therefore, we need to use a third-party template engine, such as thymeleaf we introduced this time Official website address: https://www.thymeleaf.org/ What is thymeleaf thymeleaf is a template engin ...

Posted by Jay2391 on Sat, 25 Sep 2021 11:06:56 +0200

Multithreading is enough

What is a process? There are many separate programs running in the computer. Each program has an independent process, and the processes exist independently of each other. For example, idea,360, qq and so on in the figure below. Note: a process can contain multiple threads What is a thread? Processes that want to perform tasks need to rely on ...

Posted by NuLL[PL] on Sat, 25 Sep 2021 10:52:13 +0200

jy-03-JAVASE02 -- Java serialization

This article focuses on Java serialization. If you are interested in Java serialization, you can study it. 1, The role of Java serialization Sometimes we want to transfer a Java object into a byte stream, and sometimes we want to restore a Java object from a byte stream. For example, sometimes we want to When we write a Java object to the h ...

Posted by hwmetzger on Sat, 25 Sep 2021 07:18:21 +0200

Spring/SpringBoot -- deferred loading / Lazy loading / deferred initialization / @ Lazy annotation -- use / usage / principle

Original website: Spring/SpringBoot -- deferred loading / Lazy loading / deferred initialization / @ Lazy annotation -- use / usage / principle_ CSDN blog brief introduction explain Delayed initialization is often referred to as "lazy loading".Definition of delayed initialization: a Bean is not initialized at startup and is not ...

Posted by H4mm3r3r on Sat, 25 Sep 2021 03:34:55 +0200

How to deploy yapi yourself

preface Recently, we need to use yapi with team members, but some interfaces are not suitable for the yapi already deployed by the company. So we have the idea of deploying a set of yapi ourselves. There are twists and turns in the middle, and finally it is built. 1. Environment At first, I applied for a free cloud server on a cloud webs ...

Posted by BinaryStar on Fri, 24 Sep 2021 17:33:20 +0200

Day10 file class, recursion, byte stream

Learning objectives - Can say File How objects are created(Must be) Using construction methods public File(String pathname) : Creates a new path name by converting the given path name string to an abstract path name File example. public File(String parent, String child) : Creates a new path from the parent pathname string and the child pa ...

Posted by jmurch on Fri, 24 Sep 2021 17:18:42 +0200