Java Servlet and MVC programming mode

Servlet Servlet is the foundation of JSP (Java Servlet Pages), which is essentially a Java class running on the server side, receiving requests from clients and responding. Tomcat's containers are divided into four levels: Container, Engine, Host and Servlet. The relationship is as follows The s ...

Posted by BoukeBuffel on Wed, 19 Feb 2020 22:40:41 -0800

JavaSE - IO flow

Character flow overview Because byte stream is not very convenient to operate Chinese, java provides character stream. 1. Encoding and decoding in string class Encoding: to convert a string into an array of bytes, public byte[] getBytes(); uses the platform's default character set to encode this ...

Posted by andymt on Wed, 19 Feb 2020 22:31:41 -0800

Soft work practice winter work (2 / 2)

Which course does this assignment belong to Soft worker Where are the requirements for this assignment Operational requirements The goal of this job Design and develop a program for epidemic statistics, learn how to optimize the program, learn how to use GitHub, learn how to use PSP (personal software development process), and learn how ...

Posted by Tryfan on Wed, 19 Feb 2020 21:00:14 -0800

Asynchronous thread pool usage specification

brief introduction spring The interface class of asynchronous thread pool, whose essence is Java.util.concurrent.Executor Spring has implemented exception thread pool: 1. SimpleAsyncTaskExecutor: it is not a real thread pool. This class does not reuse threads. Each call will create a new thread.   2. SyncTaskExecutor: this class does not ...

Posted by angel1987 on Wed, 19 Feb 2020 20:08:32 -0800

Lightweight RPC Design and Implementation 4th Edition

SPI mechanisms have been introduced in this release, as described in previous articles on Java and Dubbo. Port: The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo Because RPC frameworks are designed based on Spring, dependency injection issues are frequently encountered.There is also a SPI mechanism in Spring ...

Posted by Snatch on Wed, 19 Feb 2020 10:50:16 -0800

The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo

Starting today, you will learn more about DUbbo.First, give a brief overview of DUbbo. Summary Dubbo is the core framework for SOA (Service Oriented Architecture) service governance solutions.Used for distributed calls with a focus on distributed governance. Simply put, it can be divided into four roles.Provider s, Consumer s, registration cent ...

Posted by Boom.dk on Wed, 19 Feb 2020 10:42:21 -0800

Analysis of generating tag cloud code based on Python 3

This article mainly introduces the generation of tag cloud code analysis based on Python 3. The example code is introduced in detail in this article, which has a certain reference learning value for everyone's study or work. You can refer to the following for friends who need it Tag cloud is the most po ...

Posted by jerbecca on Wed, 19 Feb 2020 08:19:56 -0800

Spring boot integrates WEB Development -- start task system

Introduction: There are some special tasks that need to be performed when the system starts, such as the loading of configuration files, database initialization and other operations. If spring boot is not used, these problems can be solved in the Listener. Spring boot provides two solutions: CommandLineRunner and ApplicationRunner. The two diff ...

Posted by LucienFB on Wed, 19 Feb 2020 06:36:46 -0800

What's the use of Collection and Iterable interface

From today on, I want to sum up again what java has to do with collections. It's convenient for me to review. Besides, spring moves are also here. It's terrible. I want to learn them seriously. I can't learn from the epidemic. It's beautiful. Well, there's no more nonsense. Let's take a look at a pictur ...

Posted by IronicSoul on Wed, 19 Feb 2020 03:12:52 -0800

6, spring boot tutorial -- integrating swagger

spring boot tutorial -- integrating swagger 1, About swagger 2. How to use swagger 1. Introduce the jar package of swagger 2. Write swagger configuration class 3. Code in controller 3, Operation effect 1, About swagger Swagger is a standardized and complete framework for generating, describing ...

Posted by geetakhurana on Wed, 19 Feb 2020 02:04:24 -0800