TOMCAT WEB SERVER TECHNICAL
Presenting By
-----------
12###########
Under The Guidance Of
---------
In this paper we present a survey on web servers – IIS,
Apache, Sun Java web server, Apache Tomcat. Our survey
work involves a comparative study of these web servers
with respect to the a following parameter: Performance,
Scalability, Web server management, Dynamic content
support, Security.. At the end, a study of web servers has
been made by comparing the above mentioned web
servers against all the parameters mentioned
ABSTRACT
A Web Server is a Computer or Combination of computers, which is
connected through internet or intranet to serve the clients quests,
coming from their web browser. It is a large repository of web pages
which transfer to the client in response to their request. The client
request to the server through protocol such as FTP, HTTP, SMTP etc
for their own specific use. Every web server has a unique IP address
and domain name which identifies that machine on the network. A
server contains the server software installed on it, which manages the
client request and response them.
INTRODUCTION
Web Server Definition
A Web server is a program that generates and
transmits responses to client requests for Web
resources.
Handling a client request consists of several key
steps:
Parsing the request message
Checking that the request is authorized
Associating the URL in the request with a file name
Constructing the response message
Transmitting the response message to the requesting client
Web Server Definition
The server can generate the response message
in a variety of ways:
The server simply retrieves the file associated
with the URL and returns the contents to the
client.
The server may invoke a script that
communicates with other servers or a back-end
database to construct the response message.
Type Provide… Examples
Database Server Database Services • Microsoft SQL Server
• Oracle Database
• MySQL
Web Server Web Sites Hosting • Apache HTTP Server
• Microsoft IIS (Part of
Microsoft Windows)
File Server File Services
(Storing Shared Files)
• Microsoft Windows
Storage Server (Built
on the Microsoft
Windows Server)
TYPES OF WEB SERVERS
Type Provide… Examples
Mail Server E-mail Services • Microsoft Exchange
Server
• IBM Lotus Domino
Application Server An Environment To Run
Certain Applications
• Oracle Web Logic
Server
• Oracle Application
Server
• Oracle Glassfish Server
DNS Server Translation of Domain
Names Into IP Addresses
• Microsoft Windows
Server
• BIND
TYPES OF WEB SERVERS(contd..)
Type Provide… Examples
Proxy Server Filtering And Caching • Microsoft Forefront
Threat Management
Gateway (ISA Server)
• Apache HTTP Server
• Apache Traffic Server
Print Server Printer Services • Microsoft Windows
Storage Server (Built
on the Microsoft
Windows Server)
TYPES OF WEB SERVERS(contd..)
OTHER TYPES OF WEB SERVERS :
FTP Server, Chat Server, Fax Server, Game Server, Audio/Video Server
•Tomcat is a Servlet container (Web server that
interacts with Servlets) developed under the Jakarta
Project of Apache Software Foundation
•Tomcat implements the Servlet and the Java Server
Pages (JSP) specifications of Sun Microsystems
•Tomcat is an open-source, non commercial project
Licensed under the Apache Software License
•Tomcat is written in Java (OS independent)
What is Tomcat?
Apache tomcat is used to serve java servlets and java server pages Its
complex piece of software and through the documentation is very
comprehensive.It helps to have a good reference work to hand.
It is an open source java servlet application server used to deploy java
applications after they are built with jsp and servlets.It can be used as a
stand a long product or it can be integrated with apache server.
12
In 1999 sun donated its servlet container to apache software foundation
Combine with the apache web server
A new servlet and jsp specifications leads to a new tomcat version
2001-tomcat Catalina fully redesigned is released version 4.1
1999-jboss server released
Both are avaliable as open source.
Origin
•Create a directory for tomcat base
For example: mkdir ~/tomcat-base
•Set the environment variable CATALINA_BASE to
your tomcat-base directory
For example: setenv CATALINA_BASE ~/tomcat-base
Insert this line into your .cshrc file
•Run ~dbi/tomcat/bin/setup
$CATALINA_BASE is now a regular Tomcat base
directory, and Tomcat is ready to run
Installing Tomcat
•To start tomcat use ~dbi/tomcat/bin/catalina run
•Or, in background, ~dbi/tomcat/bin/catalina start
•To stop tomcat use ~dbi/tomcat/bin/catalina stop
•To see the default page of Tomcat from your browser
use the URL http://<machine-name>:<port>/
machine-name is the name of the machine on which Tomcat
runs and port is the port you chose for Tomcat
•You can also use http://localhost:<port>/ if your
browser runs on the same machine as Tomcat
Running Tomcat
•Web servers respond to client requests by providing
resources.
•The most common HTTP request types are get and
host.
•Selecting a web server depended on
performance,scalablity,support,functionality,ease of
use,price,operating system
Conclusion