Basic implementation of Servlet
preface
Understand the implementation of Servlet and some source code analysis, and understand the source code and function of ServletConfig and ServletContext.
1, Servlet
1. What is a Servlet
1) A set of specifications defined by Java EE, a specification that processes and responds to requests sent by processing clients, that is, ...
Posted by bluebutterflyofyourmind on Tue, 30 Nov 2021 03:11:40 -0800
Dynamic memory allocation: malloc, calloc, and realloc
1, Why dynamic memory allocation
When we declare an array in c language, we must first specify the size of an array, but in practice, we often can't know the size of the array we set in advance. For example, suppose we want to count the data of all students in a class, but the number of students in different classes may be different. In ...
Posted by mnetsys on Tue, 30 Nov 2021 02:51:57 -0800
Spring certified China Education Management Center - Spring Data Redis framework tutorial III
Original title: Spring certified China Education Management Center - Spring Data Redis framework tutorial III10.15. Support
Packageorg.springframework.data.redis.support provides various reusable components that rely on Redis as backup storage. At present, the package includes various JDK based interface implementations based on Redis, such as ...
Posted by VirusDoctor on Tue, 30 Nov 2021 02:47:52 -0800
Summary of class and object knowledge points in java
1. Object oriented
(1) Object oriented understanding
Object-oriented is based on object, which mainly emphasizes object. Face object is an idea to solve problems, which mainly depends on the interaction between objects to complete a thing
(2) Object oriented features
Object oriented is a common idea, which is more in line with people's t ...
Posted by rkeppert on Tue, 30 Nov 2021 02:39:32 -0800
ThreadLocal application and principle, weak reference introduction, data sharing in the same thread
Record the learning content. If there are mistakes, thank you for correction, communicate with each other and make progress together
ThreadLocal
Summary:
In the heap memory, there is a thread shared hash table ThreadLocalMap, which can be used to transfer parameters in the thread, such as user information, application information and other b ...
Posted by kundan on Tue, 30 Nov 2021 02:33:09 -0800
Installation of big data platform HDP3.1.4(Ambari2.7.4)
This article introduces the installation of hdp3.14 + ambari 2.7.4. If you want to use other versions, you can go to the official website to query the version adaptation
Cloudera Support Matrix
In addition, the official website also provides detailed guidance on the installation process, which can be referred to the official website Installat ...
Posted by jamiet757 on Tue, 30 Nov 2021 02:14:10 -0800
Vue element admin refreshes the page and jumps to the login page or 404 page Bug resolution record
01 Bug description
The author carries out secondary development based on the simplified Vue element admin front-end framework Vue admin template.
I added the functions of authority authentication and dynamic routing in Vue admin template, that is, the front end generates dynamic routes according to different user roles and renders different p ...
Posted by mattd8752 on Tue, 30 Nov 2021 01:45:31 -0800
Fully understand the consistent hash algorithm and PHP code implementation
When designing the architecture of a distributed system, in order to improve the load capacity of the system, it is necessary to distribute different data to different service nodes. Therefore, we need a distribution mechanism, which is actually an algorithm to realize this function. Here we use the Consistent Hashing algorithm.
Before formally ...
Posted by waverider303 on Tue, 30 Nov 2021 01:38:14 -0800
What can I do to get important notices to everyone?
In some important information notification scenarios, users need to receive and pay attention to the information. The synchronous push of SMS + voice notification can solve this problem.
SMS notification + voice notification of the same content are sent synchronously
Push the voice notification of the same content synchronously while pushing ...
Posted by shubham.amola on Tue, 30 Nov 2021 01:32:50 -0800
GitLab CI/CD automated build and release practice
Process introductionCI/CD is a method to frequently deliver applications to customers by introducing automation in the application development phase. The core concepts of CI/CD are continuous integration, continuous delivery and continuous deployment. In this article, I will introduce the practice of automated build and release based on GitLab ...
Posted by hhisc383 on Tue, 30 Nov 2021 01:23:06 -0800