20-751 ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS eCommerce Technology 20-751 Lecture 4: Web Architecture.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

Jan 17, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements.
DT228/3 Web Development WWW and Client server model.
Netscape Application Server Application Server for Business-Critical Applications Presented By : Khalid Ahmed DS Fall 98.
Muhammad Taimoor Khan
Web Server Hardware and Software
BICS546 Client/Server Database Application Development.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Interface Technology (CSE2030)
Multiple Tiers in Action
Technologies for EC/EB Walt Scacchi FEMBA 290 Winter 2003.
ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS eCommerce Technology Lecture 4: Web Architecture.
ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS eCommerce Technology Lecture 2: eCommerce Infrastructure.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Introduction to Web Interface Technology (CSE2030)
Electronic Commerce Last Week Internet utility programs
 Distributed Software Chapter 18 - Distributed Software1.
Web-based Software Development - An introduction.
Electronic Commerce Last Week
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
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.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
CIS 285 ROBINSON WINTER 2005 CIS 285 Web Application Development with Java CIS 285 Sinclair Community College Instructor: Mary Robinson.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
Introduction to Internet Programming (Web Based Application)
JD’s ToolBox – Fire and Water Toolkit Next Generation Web Assessment Technology NT OBJECTives, Inc.
 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.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Building an E-Commerce website Dr. John P. Abraham.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Web Architecture Introduction
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
Web Server.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
WEB SERVER SOFTWARE FEATURE SETS
JavaScript and Ajax (Internet Background) Week 1 Web site:
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Internet and World Wide Web Introduction to the Internet.
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.
Presented by Michael Rainey South Mississippi Linux Users Group
Web-based Software Development - An introduction
Distributed Control and Measurement via the Internet
WWW and HTTP King Fahd University of Petroleum & Minerals
Netscape Application Server
Database Applications Using Internet Technology
IIS.
File Operations Access Permissions.
Presentation transcript:

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS eCommerce Technology Lecture 4: Web Architecture

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Client-Server Model INTERNET CLIENT (Often a Web browser) SERVER Client makes requests Server responds

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Two-Tier Architecture SOURCE: FOURNIER TIER 1: CLIENT TIER 2: SERVER Server performs all processing Web Server Application Server Database Server This architecture is obsolete. Server does too much work.

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Three-Tier Architecture TIER 1: CLIENT TIER 2: SERVER TIER 3: BACKEND Application server offloads processing to tier 3 SOURCE: FOURNIER Web Server + Application Server Note: Using 2 computers instead of 1 can result in a huge increase in simultaneous clients. Depends on % of CPU time spent on database access.

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS N-Tier Architecture SOURCE: FOURNIER Achieves full separation of function and administration Huge number of simultaneous clients Managed and tuned by DBA Optimized for web page delivery Coded for specific application

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS InterShop Architecture SOURCE: INTERSHOP

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Connecting to Legacy Systems by “Wrapping” Web App Web Server Legacy App MAINFRAME “WRAPPER” Wrapper Middleware

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Connecting to Legacy Systems The “screen scraper” Client Web server Legacy database Terminal screen data Screen scraper Existing application HTML data Legacy system (mainframe) SOURCE: WIM GEVERS

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Screen Scraping Some systems produce as their only output commands to 80 x 24 display terminals Sequences of characters telling the terminal to move its cursor and display data, e.g. ^M0238Jan. ^M024416, ^M displays “Jan. 16, 2000” in row 2, starting at col. 38 Screen scraping involves virtual simulation of the display terminal to retrieve the data Vendors –Intelligent EnvironmentsIntelligent Environments

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Document Repository Office Tool Internet & Web Web Browser Data Warehouse Query Tool Enterprise System ERP Client Information System CRM Client Groupware Database Groupware Client E N T E R P R I S E P O R T A L Content Directory TextMetadata Embedded Services Web ToolsApplications Portal Architecture PartnersEmployees Customers SOURCE: PLUMTREE

Portal Architecture SOURCE: MIKE CRANDALL, GATES FOUNDATIONMIKE CRANDALL, GATES FOUNDATION LOB = “LINE OF BUSINESS”

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Server Farms Web Servers App Servers DB Servers Router Intranet Firewall Network Switch Router Internet Firewall Network Switch SOURCE: ATESTO To serve many clients, one server is not enough How do multiple servers cooperate?

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Communication Request Routing Server Cluster (Server Farm) Internet Clients Server farm HTTP request System Management Router SOURCE: CHU-SING YANGCHU-SING YANG

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Server Selection Problem Which network site? Which server? “Contact the weather service.” Server Farm A Server Farm B Avoid scalability problems of central servers by distributing load SOURCE: JEFF CHASE

Load Balancing Switch ‧ ‧‧‧‧ ‧ ‧‧‧ ‧‧‧ Internet Web Switch Router Server Farm subnet SVR.1 SVR.2 SVR.n client Internet subnet Virtual IP address SOURCE: CHU-SING YANGCHU-SING YANG

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Domain Names IP addresses are inconvenient to remember v. euro.ecom.cmu.edu (fully qualified) Domain names are alphanumeric aliases for IP addresses. They form a tree structure of FQDNs: ROOT.GOV.COM.MIL.NET.EDU.ORG.IT CMU PITT MIT AMAZON MCKINSEY YAHOO GSIA CS ECOM HEINZ WWW YEN EURO DOLLAR PESO

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Domain Name System What is the IP address of abc.foo.com? SOURCE: CISCO SYSTEMS client Local DNS Resolver Try.com Root DNS.com DNS Try foo.com foo.com DNS abc.foo.com is Cache Large, distributed, worldwide database Maps domain names to IP addresses

URL-Based Load Balancing Substring matching for: “images” “.gif” “.jpg” GET/ GET / GET / Load distributed within group via any standard metric or URL hashing Substring matching for: “.cgi” “.bin” “.exe” Substring matching for: “.html” Servers optimized for specific content-types Substring match on URL directs HTTP requests to designated server farm –Load balancing using configured algorithm or, –URL Hashing forwards requests for each unique URL to same server to take advantage of server memory caching SOURCE: SUN

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS DNS Round Robin Balancing “lookup a DNS server for nhc.noaa.gov bcd client network DNS server “ is IP address a” (or {b,c,d}) Idea: When an IP address is requested for nhc.noaa.gov, return a different IP address each time SOURCE: JEFF CHASE SERVER CLIENT

Web Data Center SOURCE: SUN

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Global WAN Architecture BIG-IP Server Array Webmaster Site I newyork.domain.com Site III tokyo.domain.com Site II losangeles.domain.com User london.domain.com Local DNS DNS GLOBAL-SITE Router BIG-IP Internet SOURCE: EDWARD CHOWEDWARD CHOW

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Client- and Server Side Programming Client Internet Server HTML Dynamic HTML Applets ActiveX Controls JavaScript CGI/Perl, C XML ASP Servlet JSP SOURCE: IITIIT

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Tiers and URLs Web Server DB Web app http: // / catalog / display.asp ? pg = 1 & product = 7 SOURCE: NTOBJECTIVES.COMNTOBJECTIVES.COM URLs can be used for application routing

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS PHP Process Flow Web Server PHP Pre- processor.php source file Browser Internet Request for.php file Raw.php source HTML is substituted for PHP code HTML SOURCE: M. HAMILLM. HAMILL PHP originally mean “Personal Home Page”

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Website Components Web Server DB Web app Web Client Web app HTTP request (cleartext or SSL) HTTP reply (HTML, Javascript, VBscript, etc) Plugins: Perl C/C++ JSP, etc Database connection: ADO, ODBC, etc. SQL Database Apache IIS Netscape etc… Firewall SOURCE: NTOBJECTIVES.COMNTOBJECTIVES.COM

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Major Ideas Client-server model Three-tiered (n-tiered) architecture Legacy connections Portals Server Farms Web development tools Client- and server-side tools

ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS Q A &