Spring MVC based on Maven

Spring MVC He's based on MVC design patterns and Spring's further encapsulation of Servlet s  MVC: Model  View  Controller How do I use Spring MVC?(Spring and Spring MVC integration)Import SpringMVC.jar with a. pom.xml   <!-- Spring 5 and SpringMVC --> <dependency> <groupId>org.springframework</groupId> ...

Posted by ptraffick on Thu, 07 Nov 2019 09:44:28 -0800

redis environment deployment

Welcome to join the operation and maintenance development technology exchange group (QQ:722381733) I. Redis Service Introduction: Redis is simply a database, a database container used to store the cache. It is mainly designed to make the project data write into the cache and provide users with a more comfortable experience. Or it can also b ...

Posted by gabeg on Wed, 06 Nov 2019 09:40:04 -0800

jenkins with k8s to achieve application continuous integration

The previous article wrote about how to build a reusable image of tomcat. This article talked about how to use this image to build different projects repeatedly. Go straight to the subject: Step 1 create the corresponding mavn project job Other configurations remain the same. The main change is the action after the build project. Note: becaus ...

Posted by jannz on Fri, 01 Nov 2019 11:26:06 -0700

jstack analysis of JVM problems

Background: jstack is used to generate a thread snapshot of the current time of the JVM. It can locate problems such as thread deadlock, dead cycle, thread pause caused by too long external request time. Thread classification: gc thread Tomcat worker thread Tomcat Boss thread (IO thread) Dubbo Netty JIT thread [CompilerThread3] User d ...

Posted by PrinceOfDragons on Wed, 30 Oct 2019 22:13:15 -0700

Local deployment of distributed monitoring CAT server

I. CAT introduction CAT (Central Application Tracking) is an open-source distributed real-time monitoring system developed by meituan reviews based on Java. The Infrastructure Department of meituan reviews hopes to provide industry-leading and unified solutions in the fields of basic storage, high-performance communication, large-scale online ...

Posted by Tonata on Tue, 29 Oct 2019 18:45:51 -0700

SSM environment construction

SSM environment construction Create project General directory structure Specific file configuration Run Tomcat Operation result SSM(Spring+SpringMVC+MyBatis), the framework of web project First of all, ensure that the Maven configuration is completed and that the image source is replaced by domest ...

Posted by pyro3k on Tue, 29 Oct 2019 14:53:15 -0700

Tomcat deployment in Centos

Create user sudo useradd --system --home /opt/tomcat --shell /sbin/nologin --comment "tomcat user" --user-group tomcat Deploying tomcat Unzip the installation package: tar -xvf apache-tomcat-9.0.21.tar.gz Mobile decompression package: sudo mv apache-tomcat-9.0.21 /opt/tomcat/apache-tomcat-9.0.21 To create a soft link: sudo ln -s /opt/tomcat/ ...

Posted by xadmin on Tue, 29 Oct 2019 08:44:19 -0700

Spring MVChelloworld, components, architecture

Catalog I. create project II. Pit encountered Using tomcat in idea Use @ responseBody service tomcat console garbled III. architecture and components Frame structure Technological process Attention points assembly HandlerMapping HandlerAdapter \ ViewReslover I. create project Create a ...

Posted by artiemus on Sat, 26 Oct 2019 22:08:50 -0700

Jenkins deployment, continuous integration and deployment (CICD)

Catalog: Jenkins deployment process Jenkins continuous integration - publish JAVA website code example Jenkins deployment process Download Jenkins war package wget http://mirrors.jenkins-ci.org/war-stable/2.150.1/jenkins.war Configure java JDK, decompress and install tar xvf jdk1.8.0_131.ta ...

Posted by kaveman50 on Wed, 23 Oct 2019 20:36:47 -0700

Install tomcat deployment website / nginx agent tomcat/tomcat deployment multiple websites

Source: https://blog.csdn.net/Powerful_Fy Install jdk: Oracle official download https://www.oracle.com/technetwork/java/javase/downloads/index.html Install openjdk from yum: 1. Find the available jdk package: [root@linux ~]# yum list |grep jdk 2. Select the package installation of the corresponding version: [root@linux ~]# yum -y install java- ...

Posted by future_man on Wed, 23 Oct 2019 11:04:05 -0700