The Observer mode is one of the many modes used. For the first time, I just write an example based on the introductory demo, but I don't know where to use it, how to use it, it's a textbook.
Individuals like blogs or materials that are more practical.
Recently I was hungry to make up for it. I feel a l ...
Posted on Fri, 05 Jun 2020 10:05:18 -0700 by wilku
2.1 cpp implementation
2.2 java implementation
4. Full code address
Definition of GOF
Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each ot ...
Posted on Fri, 05 Jun 2020 09:18:00 -0700 by Ben Cleary
The concept of JSP
JSP execution process
The relationship between JSP and Servlet
Difference: there are three things about Servlet: ① get data ② call business methods ③ process control, and JSP focuses on data display.
Contact: JSP is Servlet. JSP inherits HttpServlet.
EL express ...
Posted on Fri, 05 Jun 2020 03:32:36 -0700 by stemp
Edit coding rule
1. The national organization code consists of eight digit (or capital Latin letter) body code and one digit (or capital Latin letter) verification code. The ontology code adopts the sequential coding method of series (i.e. partition segment). The check code is calcula ...
Posted on Thu, 04 Jun 2020 19:09:11 -0700 by pieychpi
Kafka cluster deployment and startup
In this article, we will start by demonstrating how to build a Kafka cluster, and then briefly introduce some basic knowledge points about Kafka cluster. However, this paper only introduces the cluster, and does not explain the basic concept of Kafka too much. It is assumed that the reader has some basic kn ...
Posted on Thu, 04 Jun 2020 18:21:26 -0700 by Stonewall
This article describes and implements the RememberMe function in Shiro.
Shiron provides the ability to remember me, such as when visiting websites like Taobao, closing the browser and remembering who you are the next time you open it, and accessing it without having to sign in again the next time you visit.
The basic process is as ...
Posted on Thu, 04 Jun 2020 15:23:18 -0700 by V_dirt_God
java socket programming for client and server to receive information
tcp/IP Four-Layer Model
Link Layer: Data Physical Layer, Optical Fiber, Network Cable, etc.
Network layer: Used to group transmitted data and assign it to the appropriate computer or port
Posted on Thu, 04 Jun 2020 12:45:15 -0700 by anf.etienne
The optional Cloud Computing and Big Data Overview final job requires a stock case study with the following specific requirements:
Case: Attachment Document TextData.txtThe file (shown in Fig. 1) shows the trading data of the daily stocks from 2011-1 to today, the trading data of the daily stocks, the t ...
Posted on Thu, 04 Jun 2020 11:54:49 -0700 by poppy
Play Redis - Introduction to Redis
Introduction to Redis
1. Overview of Redis
2. Redis usage scenarios
3. Basic Types
Four SpringBoot Integrated Redis
(1) Introducing dependencies
(2) yml configuration
(3) Injection Template starts
(4) Write Config classes
(5) Writing service classes
Posted on Thu, 04 Jun 2020 11:54:06 -0700 by ~J~R~R
Sometimes in a project, there are situations where you need to connect two databases. This article will talk about how to use dual data sources (or multiple data sources) in combination with Spring and Mybatis.
The key to implementing multiple data sources in this article is the AbstractRoutingDataSource provided by Spri ...
Posted on Thu, 04 Jun 2020 11:09:39 -0700 by smallflower