SlideShare una empresa de Scribd logo
1 de 15
WEB SERVERS

By
- Kuldeep Kulkarni
WHAT ARE WEB SERVERS ?
The software (the computer application) that helps to
deliver content that can be accessed through the
Internet.
•

The most common use of web servers is to host
websites
•

There are other uses such as gaming, data storage or
running enterprise applications.
•

A web server serves web pages to clients across the
Internet or an Intranet. The web server hosts the pages,
scripts, programs, and multimedia files and serves them
using HTTP, a protocol designed to send files to web
browsers and other protocols.
•
EXAMPLE OF WEB SERVERS….
•

Apache HTTP Server

-Developed by Apache software foundation.
- Supports most of the OS like Unix, Linux, Novell
Netware, Windows, Mac OS X, Solaris, and FreeBSD.
•

Microsoft Internet Information Services (IIS)

- Supports only on Windows platform
•

Sun Java System Web Server

- Web Server is designed for medium to large business
applications. Sun Java System Web Server is available
for most operating systems.
HOW IT WORKS ….?
TOMCAT.
Tomcat is an open source web server and servlet
container developed by the Apache Software Foundation
(ASF).
•

•

What is servlet container?

- Servlet container (also known as a Web container) is the
component of a web server that interacts with the servlets.
A web container is responsible for managing the lifecycle
of servlets, mapping a URL to a particular servlet and
ensuring that the URL requester has the correct access
rights
Tomcat implements the Java Servlet and the JavaServer
Pages (JSP) specifications from Oracle Corporation, and
provides a "pure Java" HTTP web server environment for
Java code to run.
•
HOW CONTAINER HANDLES THE SERVLET REQ ?
HOW CONTAINER HANDLES… CONT.
HOW CONTAINER HANDLES… CONT.
COMPONENTS OF TOMCAT….
1.

Catalina

Catalina is Tomcat's servlet container. Catalina
implements Sun Microsystems' specifications for
servlet and JavaServer Pages (JSP). In Tomcat, a
Realm element represents a "database" of usernames,
passwords, and roles (similar to Unix groups)
assigned to those users. Different implementations of
Realm allow Catalina to be integrated into
environments where such authentication information
is already being created and maintained, and then use
that information to implement Container Managed
Security as described in the Servlet Specification. [2]
COMPONENTS CONT….

2. Coyote
Coyote is Tomcat's HTTP Connector component
that supports the HTTP 1.1 protocol for the web
server or application container. Coyote listens for
incoming connections on a specific TCP port on
the server and forwards the request to the Tomcat
Engine to process the request and send back a
response to the requesting client.
COMPONENTS CONT….

3. Jasper

Jasper is Tomcat's JSP Engine. Tomcat 5.x uses
Jasper 2, which is an implementation of the Sun
Microsystems's JavaServer Pages 2.0 specification.
Jasper parses JSP files to compile them into Java
code as servlets (that can be handled by Catalina). At
runtime, Jasper detects changes to JSP files and
recompiles them
TOMCAT VS. APACHE
•

The Apache Web server

-

Is faster than tomcat when it comes to static pages.

-

Is more configurable than tomcat

-

Is more robust than tomcat and

-

It supports CGI scripts, Server API modules, Perl,
PHP etc.

•

Hence for world’s web sites apache would generally
be a better choice than Tomcat, except that…

•

In itself, Apache doesn’t support Servlets or
JavaServer Pages !
TOMCAT VS. APACHE…CONT.
•The

solution of course is to allow the two
Webservers to work together.
•The

Apache server will be the principal server,
dealing with static documents
•Apache

will forward requests for Servlets or Javaserver pages to tomcat
HOW TO CONFIGURE TOMCAT ?

•LINUX

http://www.youtube.com/watch?v=jWDmG3JnNLE

•WINDOWS

http://www.youtube.com/watch?v=IX8xb-suzVg
THANK YOU !

•

I hope this was informative 

QUESTIONS …..?

Más contenido relacionado

La actualidad más candente

Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Security
george.james
 
Web publishing
Web publishingWeb publishing
Web publishing
Kanav Sood
 
Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
butest
 

La actualidad más candente (20)

Web Server - Internet Applications
Web Server - Internet ApplicationsWeb Server - Internet Applications
Web Server - Internet Applications
 
Introduction to Web Hosting.
Introduction to Web Hosting.Introduction to Web Hosting.
Introduction to Web Hosting.
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Security
 
Web development tool
Web development toolWeb development tool
Web development tool
 
world wide web
world wide webworld wide web
world wide web
 
Top web development tools
Top web development toolsTop web development tools
Top web development tools
 
Web Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScriptWeb Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScript
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Web publishing
Web publishingWeb publishing
Web publishing
 
Basic Server PPT (THDC)
Basic Server PPT (THDC)Basic Server PPT (THDC)
Basic Server PPT (THDC)
 
Apache web server
Apache web serverApache web server
Apache web server
 
Web server
Web serverWeb server
Web server
 
Web development
Web developmentWeb development
Web development
 
Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
IIS
IISIIS
IIS
 
virtual hosting and configuration
virtual hosting and configurationvirtual hosting and configuration
virtual hosting and configuration
 
Web design - How the Web works?
Web design - How the Web works?Web design - How the Web works?
Web design - How the Web works?
 
Web Server And Database Server
Web Server And Database ServerWeb Server And Database Server
Web Server And Database Server
 
Xml
XmlXml
Xml
 

Similar a Web servers

Presentation 1
Presentation 1Presentation 1
Presentation 1
aisadhsa
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
webhostingguy
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
webhostingguy
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup
dhrubo kayal
 

Similar a Web servers (20)

TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALATOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
 
Introduction of Tomcat
Introduction of TomcatIntroduction of Tomcat
Introduction of Tomcat
 
What is Web Server & It's Types.pdf
What is Web Server & It's Types.pdfWhat is Web Server & It's Types.pdf
What is Web Server & It's Types.pdf
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
bjhbj
bjhbjbjhbj
bjhbj
 
Type of Web server.pdf
Type of Web server.pdfType of Web server.pdf
Type of Web server.pdf
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache Tomcat
 
Servlet by Rj
Servlet by RjServlet by Rj
Servlet by Rj
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applications
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applications
 
Tumbleweed intro
Tumbleweed introTumbleweed intro
Tumbleweed intro
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
 
Apache tomcat
Apache tomcatApache tomcat
Apache tomcat
 
Web Server Types - Understanding a Web Server
Web Server Types - Understanding a Web ServerWeb Server Types - Understanding a Web Server
Web Server Types - Understanding a Web Server
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
 
Apache
ApacheApache
Apache
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Web servers

  • 2. WHAT ARE WEB SERVERS ? The software (the computer application) that helps to deliver content that can be accessed through the Internet. • The most common use of web servers is to host websites • There are other uses such as gaming, data storage or running enterprise applications. • A web server serves web pages to clients across the Internet or an Intranet. The web server hosts the pages, scripts, programs, and multimedia files and serves them using HTTP, a protocol designed to send files to web browsers and other protocols. •
  • 3. EXAMPLE OF WEB SERVERS…. • Apache HTTP Server -Developed by Apache software foundation. - Supports most of the OS like Unix, Linux, Novell Netware, Windows, Mac OS X, Solaris, and FreeBSD. • Microsoft Internet Information Services (IIS) - Supports only on Windows platform • Sun Java System Web Server - Web Server is designed for medium to large business applications. Sun Java System Web Server is available for most operating systems.
  • 4. HOW IT WORKS ….?
  • 5. TOMCAT. Tomcat is an open source web server and servlet container developed by the Apache Software Foundation (ASF). • • What is servlet container? - Servlet container (also known as a Web container) is the component of a web server that interacts with the servlets. A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle Corporation, and provides a "pure Java" HTTP web server environment for Java code to run. •
  • 6. HOW CONTAINER HANDLES THE SERVLET REQ ?
  • 9. COMPONENTS OF TOMCAT…. 1. Catalina Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). In Tomcat, a Realm element represents a "database" of usernames, passwords, and roles (similar to Unix groups) assigned to those users. Different implementations of Realm allow Catalina to be integrated into environments where such authentication information is already being created and maintained, and then use that information to implement Container Managed Security as described in the Servlet Specification. [2]
  • 10. COMPONENTS CONT…. 2. Coyote Coyote is Tomcat's HTTP Connector component that supports the HTTP 1.1 protocol for the web server or application container. Coyote listens for incoming connections on a specific TCP port on the server and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client.
  • 11. COMPONENTS CONT…. 3. Jasper Jasper is Tomcat's JSP Engine. Tomcat 5.x uses Jasper 2, which is an implementation of the Sun Microsystems's JavaServer Pages 2.0 specification. Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina). At runtime, Jasper detects changes to JSP files and recompiles them
  • 12. TOMCAT VS. APACHE • The Apache Web server - Is faster than tomcat when it comes to static pages. - Is more configurable than tomcat - Is more robust than tomcat and - It supports CGI scripts, Server API modules, Perl, PHP etc. • Hence for world’s web sites apache would generally be a better choice than Tomcat, except that… • In itself, Apache doesn’t support Servlets or JavaServer Pages !
  • 13. TOMCAT VS. APACHE…CONT. •The solution of course is to allow the two Webservers to work together. •The Apache server will be the principal server, dealing with static documents •Apache will forward requests for Servlets or Javaserver pages to tomcat
  • 14. HOW TO CONFIGURE TOMCAT ? •LINUX http://www.youtube.com/watch?v=jWDmG3JnNLE •WINDOWS http://www.youtube.com/watch?v=IX8xb-suzVg
  • 15. THANK YOU ! • I hope this was informative  QUESTIONS …..?