Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java Web Server Presented by- Sapna Bansode-03 Nutan Mote-15 Poonam Mote-16.

Similar presentations


Presentation on theme: "Java Web Server Presented by- Sapna Bansode-03 Nutan Mote-15 Poonam Mote-16."— Presentation transcript:

1 Java Web Server Presented by- Sapna Bansode-03 Nutan Mote-15 Poonam Mote-16

2 Web Server Web sites versus Web server Steps in handling a client requests Access control Server Architecture Server Hosting

3 Web Server

4 Web server is a program that generates and transmits responses to client requests. Handling client request consists of several key steps: - Parsing the request message. - Checking that 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.

5 Web sites versus Web server Web sites and web servers are different: - A Web site consists of a collection of web pages. - Web server is a program to satisfy client requests.

6 What is Tomcat? 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)

7 Advantages of Tomcat 1) It is an open source application server 2) It is a light weight server (no EJB) 3) It is easily configured with apache and IIS 4) Very stable on Unix systems 5) Does not require a lot of memory at startup 6) It is free, yet high quality!

8 Access control A Web server may limit which users can access certain resources. Access control requires a combination of authentication and authorization. Authentication identifies the user who originated the request. Authorization determines which users have access to a particular resources.

9 Authentication Most client server system authenticate a user by asking for a name and password. Web server must perform authentication for every request for a resource that has access restriction. A server returns an HTTP response that indicates that the request requires authorization.

10 Authorization To control access to web resources, the server must employ an authorization policy. The policy typically expressed in terms of an access control list that enumerates the users who are granted or denied access to the resources.

11 Server Architecture Some techniques for allocating system resources among competing client requests are: -Event-driven server Architecture -Process-driven server Architecture

12 Event-driven server Architecture Has a single process that alternates between different requests. Allows the server to serialize operations.

13 Process-driven server Architecture Allocates each request to a separate process. Terminates the process after parsing the client request and transmitting the response. Introduces the overhead from switching from one process to another.

14 Multiple web sites on single machine. Multiple machines for one web site. Server Hosting

15 Thank you..


Download ppt "Java Web Server Presented by- Sapna Bansode-03 Nutan Mote-15 Poonam Mote-16."

Similar presentations


Ads by Google