Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

 2004 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
DT211/3 Internet Development Application Web Servers.
The Internet Useful Definitions and Concepts About the Internet.
 2008 Pearson Education, Inc. All rights reserved Web Servers (IIS and Apache)
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Web Proxy Server Anagh Pathak Jesus Cervantes Henry Tjhen Luis Luna.
A global, public network of computer networks. The largest computer network in the world. Computer Network A collection of computing devices connected.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
17 Web Servers (Apache and IIS)
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
INTRODUCTION TO WEB DATABASE PROGRAMMING
IT 210 The Internet & World Wide Web introduction.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Web Administration.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 29.1 Multi-Tier Architecture 29.2 Web Servers.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
思科网络技术学院理事会. 1 Application Layer Functionality and Protocols Network Fundamentals – Chapter 3.
Lecturer: Ghadah Aldehim
Web Mastering Module Internet Fundamentals. What is the Internet? –Global network of networks –Communicating using same set of rules (protocols/languages)
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
M1G Introduction to Database Development 6. Building Applications.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Introduction To Internet
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
1 Welcome to CSC 301 Web Programming Charles Frank.
Structure of the Internet. Internet Structure LAN ISP Internet Backbone.
Chap 15 Application Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Application Layer Honolulu Community College Cisco Academy Training Center Semester 1 Version
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2 Revised by Dr. T. Tran for CSI3140.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
 2008 Pearson Education, Inc. All rights reserved. Chapter 17 Web Servers (Apache and IIS) Internet & World Wide Web How to Program, 5/e.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Web Server.
Introduction and Principles Web Server Scripting.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Copyright © 2011 Pearson Addison-Wesley Web Servers and Projects Deployment Chapter 11 – Slide 1.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Technology Seminar
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
JavaScript and Ajax (Internet Background)
Web Development Web Servers.
Warm Handshake with Websites, Servers and Web Servers:
CNIT 131 Internet Basics & Beginning HTML
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
PHP / MySQL Introduction
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
17 Web Servers (Apache and IIS)
17 Web Servers (Apache and IIS)
Web Servers (IIS and Apache)
Presentation transcript:

Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?

Web Servers Looking at …. Introduction to web servers HTTP request types 3-tier system architecture Accessing a web server (local and remote) Web server examples Apache Tomcat IIS PWS

What is a web server? Web server Specialized software that responds to client requests by providing resources (web pages, documents, etc..) Based on the client/server model When users enter URL into Web browsers, they request specific documents from Web server Maps URL to file on server and returns requested document to client Communicates with client using HTTP Protocol for transferring requests and files over the Internet

HTTP Request Types Also known as request methods Most popular are get and post Retrieve and send client form data to Web server get request Sends form content as part of URL Retrieves appropriate resource from Web server Limits query to 1024 characters post request Updates contents of Web server (posting new messages to forum) Has no limit for length of query Not part of URL and cannot be seen by user

HTTP Request Types get and post requests are sent to a server-side form handler Client browsers cache (save on disk) Web pages Allows for quick reloading Cache responses to get request Do not cache responses to post request

System Architecture A web server forms part of a multi-tier application Divide functionality into separate tiers Logical groupings of functionality Can reside on same computer or on different computers What does a 3-tier architecture look like? let’s have a look

System Architecture

System Architecture Client tier Referred to as the top tier Application’s user interface Users interact with application through user interface Interacts with middle tier to make requests and to retrieve data from information tier Displays data to user

System Architecture Information tier Middle tier Referred to as data tier or bottom tier Maintains data for application Stores data in relational database management system Middle tier Implements business logic and presentation logic Controls interactions between application clients and application data Acts as intermediary between data in information tier and application clients

System Architecture Middle tier, cont. Controller logic Processes client requests from top tier Retrieves data from database Presentation logic Processes data from information tier Presents content to client Business logic Enforces business rules Dictates how clients can access application data and how applications process data Ensures data validity before updating database

Accessing Web Server Requesting documents Local Web server Must know machine name on which Web server resides Through local Web servers or remote Web servers Through domain name or Internet Protocol (IP) address Local Web server Resides on users’ machines Requests documents in two ways Machine name localhost Host name that references local machine

Accessing Web Server Remote Web server Resides on different machines Accessing resources on remote web server requires Domain name Represents group of hosts on Internet Combines with how name (www) and top-level domain to from fully qualified host name Fully qualified host name Provides user friendly way to identify site on Internet IP address Unique address for locating computers on Internet DNS (see notes)

Examples of Web Servers Apache (Apache group) Tomcat (Apache group) IIS (Microsoft Internet Information Services) PWS (Microsoft Personal Web Server)

Apache web server Apache Maintained by Apache Software Foundation Currently most popular Web server Stable Efficient Portable (got it’s name from the original developers who called it ‘a patchy server’)

Apache web server Open source Freely distributed on the Internet Huge amount of end-user support Has earned the reputation of being one of the most reliable web server available Uses server modules to add functionality to the core HTTP server i.e. extra services that it can provide (e.g. security authentication)

Apache web server To launch Apache, successively select Start, Programs, Apache httpd Server, Control Apache Server and Start

Tomcat web server Tomcat Similar to Apache and also maintained by Apache Software Foundation Fast becoming a popular Web server Built in Servlet container (engine) Requires no add-ons to support Servlets

Tomcat web server To launch Tomcat, successively select Start, Programs, Apache Tomcat 4.x and Start Tomcat

Internet Information Services (IIS) web server Developed by Microsoft IIS 5.0 Enterprise-level Web server Included with Windows 2000 Allows computer to serve documents Uses an Internet Services Manager to administrate see diagram

Internet Information Services (IIS) web server Internet Services Manager dialog.

Personal Web Server (PWS) PWS developed by Microsoft PWS Scaled-down version of IIS Intended for personal computers (PC) Ideal for educational institutions, small businesses and individuals Does not require PC to be used exclusively as Web server A Personal Web Manager is used to administrate it

Personal Web Server Personal Web Manager dialog.

References Check out http://www.apache.org http://www.microsoft.com Apache and Tomcat documentation Apache and Tomcat are free to download and install http://www.microsoft.com IIS and PWS documentation

Summary We have looked at: Introduction to web servers HTTP request types 3-tier system architecture Accessing a web server (local and remote) Web server examples