Networked Applications Chapter 11 Copyright 2001 Prentice Hall.

Slides:



Advertisements
Similar presentations
Internet Security Protocols
Advertisements

Mainframes Contain about 70% of corporate data from operations (accounting, payroll, billing, etc.) Often the “database server” in web-enabled database.
DT228/3 Web Development WWW and Client server model.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
 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.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
BICS546 Client/Server Database Application Development.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Layer 7- Application Layer
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.
Introduction to Web Database Processing
How the web works: HTTP and CGI explained
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
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)
PZ15A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ15A - The Internet Programming Language Design and.
Technologies for EC/EB Walt Scacchi FEMBA 290 Winter 2003.
9/16/2003-9/18/2003 The Application Layer and Java Programming September 16-18, 2003.
Networked Applications
Definitions, Definitions, Definitions Lead to Understanding.
Introduction to Web Interface Technology (CSE2030)
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Client/Server Architecture
Web-Enabling the Warehouse Chapter 16. Benefits of Web-Enabling a Data Warehouse Better-informed decision making Lower costs of deployment and management.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall Networked Applications Chapter 11 Updated January 2009 Raymond Panko’s Business Data Networks.
Electronic Commerce Last Week
INTRODUCTION TO WEB DATABASE PROGRAMMING
1 Homework / Exam Exam 3 –Solutions Posted –Questions? HW8 due next class Final Exam –See posted schedule Websites on UNIX systems Course Evaluations.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Internet Basics Dr. Norm Friesen June 22, Questions What is the Internet? What is the Web? How are they different? How do they work? How do they.
Networked Applications Chapter 11 Copyright 2001 Prentice Hall Revision 2: July 2001.
A Closer Look at HTTP HyperText Transfer Protocol.
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.
 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.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
CS4273: Distributed System Technologies and Programming I Lecture 7: Java Networking.
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.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
An application architecture specifies the technologies to be used to implement one or more (and possibly all) information systems in terms of DATA, PROCESS,
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.
Networking Network Classification, by there: 3 The Rules they use to exchange data: Protocols.
CGI Common Gateway Interface. CGI is the scheme to interface other programs to the Web Server.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 8 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Networked Applications Chapter 11 Copyright 2001 Prentice Hall Revision 2: July 2001.
The Intranet.
Active Server Pages Server-Side Scripting and Client-Side Scripting.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
DB MidWare CSIS 4490 N-Tier Client/Server Dr. Hoganson Database Middleware Early client/server database systems –Two tier –Server does business logic (data.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Cisco – Chapter 15 Application Layer closest to you as an end-user, when you are interacting with software.
14 1 Chapter 14 Web Database Development Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 The Internet Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
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.
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
MapServer In its most basic form, MapServer is a CGI program that sits inactive on your Web server. When a request is sent to MapServer, it uses.
Chapter 27 WWW and HTTP.
Review of TCP/IP Internetworking
Tiers vs. Layers.
Hyper Text Transfer Protocol
Presentation transcript:

Networked Applications Chapter 11 Copyright 2001 Prentice Hall

The Primacy of Applications Users only care about applications The other layers (transport, internet, data link, physical) exist only to support applications

Applications in this Chapter There are many applications We will only look at 3 networked applications –Web-enabled database access –Internet –IP telephony for voice-data convergence Each is important Each has general lessons to teach

Web-Enabled Database Access

Problem: Database is on a “database server” –Mainframe or client/server server –These need proprietary client software or a terminal Problem: Most users only have browsers User with BrowserDatabase Server

Web-Enabled Database Access Solution: an application server (webserver with intermediary software) mediates between the two User with BrowserDatabase ServerApplication Server

Web-Enabled Database Access Step 1: User types URL of data entry form Step 2: Webserver application sends form User with BrowserDatabase Server URL Form Application Server

Web-Enabled Database Access Step 3: User types information in form, hits Send –Browser puts data in a request line –GET keyword –/cgi-bin is the absolute path to a directory holding an intermediary program, bogo.exe GET /cgi-bin/bogo.exe?last=Lee&first=Pat

Web-Enabled Database Access Step 3: User types information in form, hits Send –Data separated from absolute path by ? –last field contains the value Lee –first field contains the value Pat GET /cgi-bin/bogo.exe?last=Lee&first=Pat

Web-Enabled Database Access Step 3: Application server webserver software passes data form to the intermediary program, Bogo.exe, on the webserver Application Server Webserver Application Software Intermediary Program (Bogo.exe)

Web-Enabled Database Access Step 4: Bogo.exe puts the data into a query in the database server’s standard format –Sends the query to the server User with BrowserDatabase Server Standard Query Application Server (Bogo.exe)

Web-Enabled Database Access Step 5: Database server sends response in its standard format to the intermediary program, Bogo.exe User with BrowserDatabase Server Standard Response Application Server (Bogo.exe)

Web-Enabled Database Access Step 6: Application server intermediary software (Bogo.exe) creates a new HTML webpage containing the response Application Server Intermediary Program (Bogo.exe) Webpage

Web-Enabled Database Access Step 7: Application server intermediary software passes this webpage to the webserver application program Application Server Webserver Application Software Intermediary Program (Bogo.exe) Webpage

Web-Enabled Database Access Step 8: Webserver application program passes the webpage to the browser User with BrowserDatabase Server Webpage Application Server

Transparency Browser does not know that it is dealing with a database server; it sends standard webserver commands, gets webpages back Database server does not know it is dealing with a browser; receives standard database server requests, sends standard database server responses No changes are needed in the browser or database application software; process is transparent to both the browser and the database server

Web-Enabled Database Access CGI and Intermediary Program –Intermediary program (Bogo.exe) does the actual translation work Webserver Application Program Webserver Application Program Intermediary Program (Bogo.exe) Intermediary Program (Bogo.exe) Database Application Program Database Application Program

Web-Enabled Database Access CGI and Other Programs –Webserver application programs have a standardized way of moving data to and from other programs Common Gateway Interface (CGI) standard Webserver Application Program Webserver Application Program Intermediary Program (Bogo.exe) Intermediary Program (Bogo.exe) Database Application Program Database Application Program CGI

Web-Enabled Database Access CGI –Starts a new copy of the intermediary program every time the intermediary program is called –This is very slow –OK only for small applications Webserver Application Program Webserver Application Program Intermediary Program (Bogo.exe) Intermediary Program (Bogo.exe) Database Application Program Database Application Program CGI Intermediary Program (Bogo.exe) Intermediary Program (Bogo.exe) Intermediary Program (Bogo.exe) Intermediary Program (Bogo.exe)

Web-Enabled Database Access Application Program Interfaces (APIs) –Database servers have proprietary ways of communication with other application programs –Other application program sends an application program interface (API) call to the database program Webserver Application Program Webserver Application Program Database Application Program Database Application Program API

Web-Enabled Database Access Application Program Interfaces (APIs) –Faster than CGI but proprietary –Webserver applications do not support all database APIs Webserver Application Program Webserver Application Program Database Application Program Database Application Program API

Web-Enabled Database Access CGIAPI SpeedSlowerFaster GeneralityGeneralProprietary

Web-Enabled Database Access Client-Side Processing –Webserver can download webpage with Java or Active-X program –Client can then communicate directly with the database server User with BrowserDatabase Server Webpage with Java applet Subsequent Interactions