Web servers

6,078 views

Published on

Basic of web servers including installation instructions

Published in: Technology
1 Comment
5 Likes
Statistics
Notes
  • Dear Kuldeep, Please share this document to my mail id rsharma12488@gmail.com Your support is highly appreciated Regards, Rahul
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
6,078
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
568
Comments
1
Likes
5
Embeds 0
No embeds

No notes for slide

Web servers

  1. 1. WEB SERVERS By - Kuldeep Kulkarni
  2. 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. 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. 4. HOW IT WORKS ….?
  5. 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. 6. HOW CONTAINER HANDLES THE SERVLET REQ ?
  7. 7. HOW CONTAINER HANDLES… CONT.
  8. 8. HOW CONTAINER HANDLES… CONT.
  9. 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. 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. 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. 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. 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. 14. HOW TO CONFIGURE TOMCAT ? •LINUX http://www.youtube.com/watch?v=jWDmG3JnNLE •WINDOWS http://www.youtube.com/watch?v=IX8xb-suzVg
  15. 15. THANK YOU ! • I hope this was informative  QUESTIONS …..?

×