[Deep and shallow-JVM] (76): classloader

Method public Class<?> loadClass(String name) throws ClassNotFoundException Play Class instances of this class by class name protected final Class<?> defineClass(byte[] b,int off,int len) According to the given bytecode stream b, off and len parameters represent the position and length of the actual class information in the byte arr ...

Posted by ungovernable on Mon, 16 Sep 2019 13:24:26 +0200

Java background development Tomcat adds https to support small program development process

The original article: > Java background development Tomcat adds https to support applet development process "> blog. ouyangsihai. cn >> Java background development Tomcat adds https to support applet development process) 1 To app ...

Posted by capitala on Sat, 14 Sep 2019 12:36:25 +0200

Spring Boot External Servlet Container and docker

It mainly includes the steps and principles of using the external servlet container, and the introduction and core concepts of docker. 1. Use an external Servlet container Embedded Servlet Containers: Applications typed into executable jar s Advan ...

Posted by superpimp on Wed, 11 Sep 2019 05:41:35 +0200

Smooth upgrade and rollback of Nginx version in 1 minute

Nginx is a knowledge point for operation, maintenance, development and testing. Many articles about Nginx have been written before. Nginx Service Introduction and Installation Introduction to Nginx Service Profile Nginx Configuration Virtual Host Nginx reverse proxy load balancing configuration Nginx+Tomcat Multi-instance and Load Balancing Co ...

Posted by zingbats on Tue, 10 Sep 2019 09:15:54 +0200

How containers in Tomcat handle requests

Preface Previous Article How connectors are designed in Tomcat Describes the design of connectors in Tomcat. We know that connectors are responsible for listening to network ports, getting connection requests, then converting Servlet-compliant requests to containers for processing. This article will follow the ideas of the previous article to ...

Posted by sonny on Mon, 09 Sep 2019 04:48:27 +0200

Tomcat Server Configuration Details

Tomcat server is a free open source web application server, which belongs to lightweight application server. It is widely used in small and medium-sized systems and occasions where concurrent users are not very many. It is the first choice for developing and testing JSP programs. Generally speaking, Tomcat, like apache or Nginx web servers, ha ...

Posted by Altairzq on Sat, 07 Sep 2019 08:32:24 +0200

Handwritten Mini Spring MVC Framework

Preface Learning how to use Spring, Spring MVC is very fast, but in the process of future use, it is inevitable to want to explore the principles behind the framework. This article will explain how to write a simple version of Spring MVC framework by hand, directly look at the framework from the code of request distribution, control inversion a ...

Posted by andreasb on Fri, 30 Aug 2019 05:46:40 +0200

Configuration of Data Connection Pool in SpringBook (tomcat,HikariCP,dbcp2,druid)

Configuration of Data Connection Pool in SpringBook (tomcat,HikariCP,dbcp2,druid) Articles Catalogue Configuration of Data Connection Pool in SpringBook (tomcat,HikariCP,dbcp2,druid) 1. Four connection pools supported in spring boot 2. Configur ...

Posted by moltenice on Mon, 26 Aug 2019 14:04:38 +0200

Tomcat Source Code Analysis - - - Understanding Session Mechanism thoroughly

Overview of Tomcat Session Firstly, HTTP is a stateless protocol, which means that every HTTP request initiated is a completely new request (without any connection with the previous request, the server will not retain any information of the previous request), and Session appears to solve this problem, associating every request on the client si ...

Posted by workbench on Fri, 23 Aug 2019 05:45:31 +0200

Tomcat Source Analysis--- HTTP Request Processing

Finally, we're in the analysis phase of Connector, which is one of Tomcat's most complex features.Connector is named connector in Chinese. Since it is a connector, it will certainly connect something. What do you want to connect? Connectors are used to accept requests and encapsulate them as Request s and Response s, which are then handled ...

Posted by chrispos on Tue, 20 Aug 2019 04:51:42 +0200