SlideShare a Scribd company logo
INTRODUCTION OF TOMCAT
WHAT IS APPLICATION SERVER
• An application server is a type of server designed to install,
operate and host applications and associated services for end
users, IT services and organizations.
• It facilitates the hosting and delivery of high-end consumer or
business applications, which are used by multiple and
simultaneously connected local or remote users.
WHY USE AN APPLICATION SERVER? WHAT
ARE THE BENEFITS?
• Application servers are best used when there is the need to
integrate with databases and servers, for example, web servers,
which have already been set up and are part of an
organisation's existing IT infrastructure.
BENEFITS:
• One of the predominant reasons for this is that an application
server can serve as a means to provide integrity to code and
data by having an integrated and centralized approach to
keeping applications upgraded and updated.
CONT…
• Another core reason to put an application server to use it that it
provides your organization with an additional layer of security.
By sitting in between web pages and databases, an application
server helps act as an additional barrier to SQL injection cyber
attacks, as there is no direct link between a web page and a
database. This separation carries the need for validation and/or
a requirement to show business logic, thereby ensuring that
text entered into a form on a website is not being exploited as
a malicious SQL call.
ARCHITECHTU
RE OF AN
APPLICATION
APPLICATION
FLOW
DIAGRAM
APACHE TOMCAT
• The Apache Tomcat software is an open source implementation
of the Java Servlet, JavaServer Pages, Java Expression Language
and Java WebSocket technologies.
APACHE TOMCAT COMPONENTS
• Catalina
• Coyote
• Jasper
• Cluster
• High Availability
• Web Application
JASPER 2
• Jasper is the JSP Engine for Tomcat. Jasper is responsible for
parsing JSP files and compilation of JSP’s Java code as servlets.
• Jasper is capable of background compilation, which means if
any changes are made to JSP files, then the older versions of
those JSP files are still retained by the server, until the updated
JSP files are recompiled
CATALINA
• Catalina is Tomcat’s servlet container. Catalina makes Tomcat a
Web Server for dynamic content.
COYOTE
• Coyote is the component that makes Tomcat capable as a HTTP
Web Server. Coyote makes Catalina also act as a server that
serves static content.
INSTALLATION OF TOMCAT
• Pre-requisites
EC2 instance with Java v1.8.x
Install Apache Tomcat
• Download tomcat packages from https://tomcat.apache.org/download-80.cgi onto /opt on
EC2 instance
# Create tomcat directory
• cd /opt
• Download from Internet “apache-tomcat-8.5.57.tar.gz”
• tar -xvzf /opt/apache-tomcat-8.5.57.tar.gz
• give executing permissions to startup.sh and shutdown.sh which are under bin.
• chmod +x /opt/apache-tomcat-8.5.35/bin/startup.sh shutdown.sh
• Run ./startup.sh
CHECK POINT
• Access tomcat application from browser on port 8080
• http://<Public_IP>:8080
• Using unique ports for each application is a best practice in an
environment. But tomcat and Jenkins runs on ports number 8080.
Hence lets change tomcat port number to 8090.
• Change port number in conf/server.xml file under tomcat home
cd /opt/apache-tomcat-8.5.35/conf
• # update port number in the "connecter port" field in server.xml
• # restart tomcat after configuration update
• ./shutdown.sh
• ./startup.sh

More Related Content

PPTX
Dev ops != Dev+Ops
PPTX
DevOps seminar ppt
PDF
DevOps - A Gentle Introduction
PPTX
TestNG Framework
PPTX
PPTX
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
PDF
DevSecOps | DevOps Sec
PPT
Jenkins Overview
Dev ops != Dev+Ops
DevOps seminar ppt
DevOps - A Gentle Introduction
TestNG Framework
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
DevSecOps | DevOps Sec
Jenkins Overview

What's hot (20)

PDF
Roles and Responsibilities of a DevOps Engineer
PPTX
Microsoft dot net framework
PPTX
Introduction to jenkins
PPTX
PPT
Maven Introduction
PPTX
DevOps Introduction
PDF
Google Firebase presentation - English
PPTX
What Is DevOps?
PPTX
What is dotnet (.NET) ?
PPT
PPTX
.NET and C# Introduction
PPTX
Maven ppt
PPTX
Track code quality with SonarQube
PPTX
Springboot Microservices
PPTX
Building Repeatable Infrastructure using Terraform
PPTX
Jenkins Introduction
PPTX
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
PPTX
Devops insights
PPTX
DEVSECOPS.pptx
PDF
Katalon Studio - Best automation solution for software testing team
Roles and Responsibilities of a DevOps Engineer
Microsoft dot net framework
Introduction to jenkins
Maven Introduction
DevOps Introduction
Google Firebase presentation - English
What Is DevOps?
What is dotnet (.NET) ?
.NET and C# Introduction
Maven ppt
Track code quality with SonarQube
Springboot Microservices
Building Repeatable Infrastructure using Terraform
Jenkins Introduction
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Devops insights
DEVSECOPS.pptx
Katalon Studio - Best automation solution for software testing team
Ad

Similar to Introduction of Tomcat (20)

PPTX
Introduction of tomcat
PPTX
Web servers
PPT
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
PPT
Ppt for Online music store
PPT
Cloud compiler - Minor Project by students of CBPGEC
PDF
Stay productive_while_slicing_up_the_monolith
PPTX
4. J2EE.pptx
PDF
Rami Sayar - Node microservices with Docker
PDF
Stay productive while slicing up the monolith
DOC
Jetty Vs Tomcat
PPTX
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
PPT
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
PDF
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
PDF
Introduction to weblogic
PDF
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
PPT
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
PDF
Datasheet weblogicpluginforrd
PPTX
PDF
WSO2 Application Server - 5.0.0
PPTX
Introduction of tomcat
Web servers
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
Ppt for Online music store
Cloud compiler - Minor Project by students of CBPGEC
Stay productive_while_slicing_up_the_monolith
4. J2EE.pptx
Rami Sayar - Node microservices with Docker
Stay productive while slicing up the monolith
Jetty Vs Tomcat
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Introduction to weblogic
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Datasheet weblogicpluginforrd
WSO2 Application Server - 5.0.0
Ad

Recently uploaded (20)

PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Classroom Observation Tools for Teachers
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Business Ethics Teaching Materials for college
PDF
Insiders guide to clinical Medicine.pdf
PPTX
master seminar digital applications in india
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
TR - Agricultural Crops Production NC III.pdf
Pharma ospi slides which help in ospi learning
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pre independence Education in Inndia.pdf
Classroom Observation Tools for Teachers
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
VCE English Exam - Section C Student Revision Booklet
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Business Ethics Teaching Materials for college
Insiders guide to clinical Medicine.pdf
master seminar digital applications in india
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Renaissance Architecture: A Journey from Faith to Humanism
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

Introduction of Tomcat

  • 2. WHAT IS APPLICATION SERVER • An application server is a type of server designed to install, operate and host applications and associated services for end users, IT services and organizations. • It facilitates the hosting and delivery of high-end consumer or business applications, which are used by multiple and simultaneously connected local or remote users.
  • 3. WHY USE AN APPLICATION SERVER? WHAT ARE THE BENEFITS? • Application servers are best used when there is the need to integrate with databases and servers, for example, web servers, which have already been set up and are part of an organisation's existing IT infrastructure. BENEFITS: • One of the predominant reasons for this is that an application server can serve as a means to provide integrity to code and data by having an integrated and centralized approach to keeping applications upgraded and updated.
  • 4. CONT… • Another core reason to put an application server to use it that it provides your organization with an additional layer of security. By sitting in between web pages and databases, an application server helps act as an additional barrier to SQL injection cyber attacks, as there is no direct link between a web page and a database. This separation carries the need for validation and/or a requirement to show business logic, thereby ensuring that text entered into a form on a website is not being exploited as a malicious SQL call.
  • 7. APACHE TOMCAT • The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.
  • 8. APACHE TOMCAT COMPONENTS • Catalina • Coyote • Jasper • Cluster • High Availability • Web Application
  • 9. JASPER 2 • Jasper is the JSP Engine for Tomcat. Jasper is responsible for parsing JSP files and compilation of JSP’s Java code as servlets. • Jasper is capable of background compilation, which means if any changes are made to JSP files, then the older versions of those JSP files are still retained by the server, until the updated JSP files are recompiled
  • 10. CATALINA • Catalina is Tomcat’s servlet container. Catalina makes Tomcat a Web Server for dynamic content.
  • 11. COYOTE • Coyote is the component that makes Tomcat capable as a HTTP Web Server. Coyote makes Catalina also act as a server that serves static content.
  • 12. INSTALLATION OF TOMCAT • Pre-requisites EC2 instance with Java v1.8.x Install Apache Tomcat • Download tomcat packages from https://tomcat.apache.org/download-80.cgi onto /opt on EC2 instance # Create tomcat directory • cd /opt • Download from Internet “apache-tomcat-8.5.57.tar.gz” • tar -xvzf /opt/apache-tomcat-8.5.57.tar.gz • give executing permissions to startup.sh and shutdown.sh which are under bin. • chmod +x /opt/apache-tomcat-8.5.35/bin/startup.sh shutdown.sh • Run ./startup.sh
  • 13. CHECK POINT • Access tomcat application from browser on port 8080 • http://<Public_IP>:8080 • Using unique ports for each application is a best practice in an environment. But tomcat and Jenkins runs on ports number 8080. Hence lets change tomcat port number to 8090. • Change port number in conf/server.xml file under tomcat home cd /opt/apache-tomcat-8.5.35/conf • # update port number in the "connecter port" field in server.xml • # restart tomcat after configuration update • ./shutdown.sh • ./startup.sh