Spring mvc03: RestFul style and Controller

Controller controller The controller is responsible for providing the behavior of accessing the application, which is usually implemented by interface definition or annotation definition. The controller is responsible for parsing the user's request and transforming it into a model. A spring controller can be contained in more than one sprin ...

Posted by Cinds on Mon, 14 Feb 2022 02:58:12 +0100

Application and principle of ThreadPoolExecutor thread pool

1. Custom thread pool Thread is a kind of system resource. Every time it is created, it will consume some system resources. If a new thread is created for each task in a high concurrency scenario, it will occupy a lot of system space and even cause the problem of memory overflow. Moreover, the number of threads cannot be too large. If there ...

Posted by Hoangsta on Mon, 14 Feb 2022 02:04:24 +0100

Understand the decorator mode

When learning the classic design pattern, the decorator pattern is really a headache, but it is not difficult to realize after mastering its basic idea. First of all, the decorator has told us two basic information Something to be decorated can be seen as a coreThings with decoration can be regarded as different properties or functions It' ...

Posted by jamesnkk on Sun, 13 Feb 2022 21:30:55 +0100

Java Stream, File, and IO

Java Stream, File, and IO Java Stream, File, and IO Java. The IO package contains almost all the classes needed to operate on inputs and outputs All these stream class stream classes represent input sources and output destinations Java. Streams in io packages support many formats Examples include basic types, objects, localized characte ...

Posted by tranzparency on Sun, 13 Feb 2022 19:18:14 +0100

Student Management System (ArrayList Simple Edition)

Student Management System (ArrayList Simple Edition) Ideas for Implementing Student Management System (1) Defining student classes (2) Coding of the main interface (3) Code writing for adding students (4) View students'code writing Delete student code writing Modify students'code writing Solve the problem of adding duplicate student num ...

Posted by cachemony on Sun, 13 Feb 2022 19:00:03 +0100

Java Basics - basic types

New JAVA java learning starts with basic types, which are often used in daily work. But are you sure you have mastered the basic types of knowledge? Let's take a look at the next few questions 1,boolean What is the length of the type? 2,void Is it a basic type? 3,int i=0; Integer j=i;In this boxing process, how is the basic type assigned ...

Posted by Volte on Sun, 13 Feb 2022 16:10:28 +0100

Use and analysis of C# operation path class method

English Translation: As the name suggests, it is the operation path Namespace: using System.IO; File stream... And so on are common in this namespace. They are all classes and methods related to operation files This article explains and runs all the methods inside F12 go to the definition and find that it is a static class What ...

Posted by delassus on Sun, 13 Feb 2022 15:25:01 +0100

Python function learning II

python custom function learning II 1, Change of parameters 1. Location parameters Position parameter means that when transferring parameter value, it must correspond to the parameters defined by the function one by one, and the position cannot be disturbed. For example, a user-defined function call with two fixed parameters def test(name,age): ...

Posted by crash58 on Sun, 13 Feb 2022 13:31:46 +0100

Deep understanding of JVM virtual machines

JVM learning This article is based on JVM [produced by dark horse programmer] Notes made during instructional video learning 1, What is a JVM definition Java Virtual Machine, the running environment of JAVA program (the running environment of JAVA binary bytecode) benefit Write once and run everywhereAutomatic memory management, garbage c ...

Posted by immot on Sun, 13 Feb 2022 11:46:53 +0100

SpringCloud learning notes

Crazy God said spring cloud learning notes - KuangStudy - article 1.1 learning premise Proficient in using SpringBoot microservice rapid development frameworkLearned about Dubbo + Zookeeper distributed Foundation The configured memory of the computer is no less than 8g (my own is 16G) Let's see the memory overhead diagram of multiple serv ...

Posted by jaz529 on Sun, 13 Feb 2022 11:27:25 +0100