Getting started with Java Web -- installing Tomcat server in Linux Environment

Absrtact: This article mainly studied how to install Tomcat server in Linux environment. Preparation Check Java environment variables Check whether the system is configured with Java environment variables: 1 [root@localhost ~]# java -version 2 java version "1.8.0_91" 3 Java(TM) SE Runtime Environment (build 1.8.0_91-b14) 4 Java HotSpot(TM) 64- ...

Posted by Dethman on Fri, 29 Nov 2019 03:48:54 -0800

nginx+tomcat to configure load balancing

The first step is to download tomcat and configure the multi tomcat running environment; ① download tomcat, extract two copies to D:\tomcats directory, and rename them: tomcat_8080 tomcat_8090 ② replace the Catalina home in startup.bat and catalina.bat under the bin directory of tomcat_withcatalina home ③ replace the Catal ...

Posted by dcooper on Wed, 27 Nov 2019 09:54:04 -0800

Implementation steps of spring MVC project

1. Add maven dependency (pom.xml) <dependencies> <!-- Servlet API rely on --> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> </dependency> <!-- jstl --> <dependency ...

Posted by kee2ka4 on Wed, 27 Nov 2019 08:32:35 -0800

The project of building springboot by eclipse

Record a spring boot experience springboot project creation Here's a way to share it with other bloggers https://blog.csdn.net/mousede/article/details/81285693 directory structure       Next, write a startup class Startup class: SpringBootDemoApplication      package com.start; import org.mybatis.spring.annotation.MapperScan; im ...

Posted by sarika on Wed, 27 Nov 2019 06:19:01 -0800

Configuring HTTPS in Spring Boot2

1. Generate certificate Using jdk and keytool.exe in jre to generate self signed certificates requires the configuration of Java home and path environment variables, that is, jdk environment variables. The command is as follows: keytool -genkey -alias tomcat -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 Th ...

Posted by brianjw on Mon, 25 Nov 2019 09:57:34 -0800

On the architecture design of Tomcat

Tomcat is implemented as a servlet container, which is a lightweight application server developed based on Java language. As an application server, Tomcat has the advantages of full open source, light weight, stable performance, low deployment cost, etc., so it has become the first choice for java development and application deployment at pres ...

Posted by ade1982 on Mon, 25 Nov 2019 05:08:23 -0800

(Centos7) Supervisor installation and deployment

1.yum installation yum install epel-release yum install -y supervisor 2. Configuration fileAfter the supervisor is installed successfully, no default configuration file is provided. You can generate the initialization configuration file of the supervisor by running the echo supervisor conf program mkdir /etc/supervisor echo_supervisord_conf &g ...

Posted by Valdhor on Tue, 19 Nov 2019 12:13:26 -0800

Tomcat service installation - follow up (easy to do)

Tomcat introduction 1. Free and open source Web application server2. A core project in the Jakarta project of the Apache Software Foundation3. Jointly developed by Apache, Sun and some companies and individuals4. Loved by Java enthusiasts and recognized by some software developers5. Currently popular Web application server Tomcat core componen ...

Posted by Hybride on Mon, 18 Nov 2019 01:13:57 -0800

How to gracefully stop the spring boot service

Preface Often the pronoun for "stop service" is violence, regardless of the consequences, because when a forced stop occurs, it doesn't matter if there are any running threads in it. It happens that recently, because of the auto scalinng in AWS, unknown friends can interpret it as AWS can automatically expand or shrink our servers, wh ...

Posted by scopley on Sun, 17 Nov 2019 18:35:32 -0800

Java Web Learning Servlet series 18 HttpServletRequest object get request message line related methods

In the previous section, I introduced the HttpServletResponse object and common methods. This section started to learn the HttpServletRequest object and related methods. Like the previous section, I couldn't learn the methods of operating the request message line, request message header and request body. This article is to lear ...

Posted by vito336 on Sun, 10 Nov 2019 09:29:49 -0800