Comprehensive deployment of typical traditional projects (jdk, tomcat, mysql, nginx, actual combat)
introduction
In order to strengthen the review of basic knowledge and consolidate learning achievements, ape redeployed the recently launched company project, recorded the whole process, explained the key points, and made a comprehensive case for traditional project deployment for reference. operating system CentOS memory 4g dual core Database ...
Posted by PickledOnion on Mon, 25 Oct 2021 09:15:29 +0200
Comparison and optimization of three operation modes (bio, NiO and APR) of Tomcat Connector
Operation mode
Comparison and optimization of three operation modes (bio, NiO and APR) of Tomcat Connector.
org.apache.coyote.http11.Http11Protocol: BIO
org.apache.coyote.http11.Http11NioProtocol: NIO
org.apache.coyote.http11.Http11Nio2Protocol: NIO2
org.apache.coyote.http11.Http11AprProtocol: APR
BIO
A thread processes a request. Disadvan ...
Posted by Tezread on Tue, 19 Oct 2021 08:26:47 +0200
[JavaWeb] Servlet Technology of response client
reference material: Basic course of Java Web Development -- edited by Li Jun (main)
1. Introduction to Servlet
Definition of Servlet: Servlet is a Java application running on the Web server. It is a technology provided by SUN company for developing dynamic Web resources.
The role of Servlet:
Collect user input from the web form < fo ...
Posted by samsbox on Sat, 16 Oct 2021 08:53:59 +0200
Nginx + Tomcat load balancing cluster
introduction
Generally, a Tomcat site can not be used in the production environment alone because it may have a single point of failure and can not cope with the complex and diverse requests of too many customers. Therefore, a more reliable solution is needed to improve the Web site architecture.
1, Case overview
Nginx is a very exc ...
Posted by veveu on Fri, 15 Oct 2021 19:30:31 +0200
jy-03-JAVASE02 -- Java serialization
This article focuses on Java serialization.
If you are interested in Java serialization, you can study it.
1, The role of Java serialization
Sometimes we want to transfer a Java object into a byte stream, and sometimes we want to restore a Java object from a byte stream. For example, sometimes we want to
When we write a Java object to the h ...
Posted by hwmetzger on Sat, 25 Sep 2021 07:18:21 +0200
Idea + Maven implement spring MVC
1, Introduction to spring MVC
Spring MVC is a part of the Spring Framework and a lightweight Web framework based on Java to implement MVC.
MVC is a programming idea (it is divided into three layers, Model View Controller, and each laye ...
Posted by ten31studios on Sun, 19 Sep 2021 12:43:32 +0200
Summary of basic distributed of grain mall
@TOC
1.SPU and SKU
SPU (standardized product unit): similar to classes in java, that is, abstract
SKU (inventory unit): similar to an object, it has more specific values
Basic attribute (specification parameter): common attributes such as length.
Sales attribute: specific attributes
1. Shared specification parameters under classif ...
Posted by mausie on Sat, 11 Sep 2021 08:46:18 +0200
Take you to tomcat!Everything is here
1. Introduction to Tomcat
Tomcat is a core project of the Apache Software Foundation project, developed by Apache, Sun, and a number of other companies and individuals.
Tomcat server is a free, open source Web application server. It is a lightweight application server. It is widely used in small and medium-sized systems and in situations ...
Posted by niekos on Wed, 01 Sep 2021 20:00:54 +0200
Separation of dynamic and static state by Nginx+Tomcat
Add group groupadd www
Add user WWW: useradd - G www under www group
Modify configuration file nginx.conf :
user www www;
worker_processes 2;
events{
worker_connections 1024;
}
http{
#Set the default type to binary stream
default_type application/octet-stream;
server_names_hash_bucket_size 128;
#Specify the hea ...
Posted by dheeraj4uuu on Wed, 01 Jul 2020 16:58:12 +0200
Pinyougou project notes: SpringBoot and Ali greater than
Notes on pinyougou project (11)
SpringBoot
introduce
Small example (1)
Small examples (2)
Integration of springboot and activemq
Ali greater than
SpringBoot
introduce
springboot is a back-end full stack framework (excluding page technology) produced by spring organization
Role: advocate zero ...
Posted by Imad on Mon, 29 Jun 2020 08:00:08 +0200