CHAPTER 13 Internet and Distributed Application Services.

Slides:



Advertisements
Similar presentations
Chapter Goals Describe client/server and multi-tier application architecture and discuss their advantages compared to centralized applications Explain.
Advertisements

Layer 7- Application Layer
Introduction to Web Database Processing
Internet…issues Managing the Internet
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
2 Systems Architecture, Fifth Edition Chapter Goals Describe client/server and multi-tier application architecture and discuss their advantages compared.
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
Client-Server Processing and Distributed Databases
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Evolved from ARPANET (Advanced Research Projects Agency of the U.S. Department of Defense) Was the first operational packet-switching network Began.
A global, public network of computer networks. The largest computer network in the world. Computer Network A collection of computing devices connected.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
INTRODUCTION TO WEB DATABASE PROGRAMMING
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.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Chapter 10 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain how the functions of the application layer,
思科网络技术学院理事会. 1 Application Layer Functionality and Protocols Network Fundamentals – Chapter 3.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
World Wide Web Hypertext model Use of hypertext in World Wide Web (WWW) WWW client-server model Use of TCP/IP protocols in WWW.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Networks QUME 185 Introduction to Computer Applications.
Network Services Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 Version 3.0 Module 11 TCP Application and Transport.
Chapter 4 Networking and the Internet. © 2005 Pearson Addison-Wesley. All rights reserved 4-2 Chapter 4: Networking and the Internet 4.1 Network Fundamentals.
TCP/IP fundamentals Unit objectives Discuss the evolution of TCP/IP Discuss TCP/IP fundamentals.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
An Overview of the Internet: The Internet: Then and Now How the Internet Works Major Features of the Internet.
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
1 Welcome to CSC 301 Web Programming Charles Frank.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
TCP/IP (Transmission Control Protocol / Internet Protocol)
An Introduction to Networking
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
CSIT 220 (Blum)1 Remote Procedure Calls Based on Chapter 38 in Computer Networks and Internets, Comer.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
COMPUTER NETWORKS Hwajung Lee. Image Source:
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Information Networks. Internet It is a global system of interconnected computer networks that link several billion devices worldwide. It is an international.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Web Development & Design Foundations with XHTML Chapter 1 Key Concepts 1.
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.
Introduction to the Internet
Internet and Distributed Application Services
Chapter Objectives In this chapter, you will learn:
Distributed Control and Measurement via the Internet
Networking Based Applications
Instructor Materials Chapter 5 Providing Network Services
Level 2 Diploma Unit 10 Setting up an IT Network
Network Wiring and Reference
Using MIS 2e Chapter 6 Appendix
Networking for Home and Small Businesses – Chapter 6
Data Networking Fundamentals
Web Development & Design Chapter 1, Sections 4, 5 & 6
Chapter 3: Windows7 Part 4.
Networking for Home and Small Businesses – Chapter 6
TASK 4 Guideline.
Evolved from ARPANET (Advanced Research Projects Agency of the U.S. Department of Defense) Was the first operational packet-switching network Began.
Networking for Home and Small Businesses – Chapter 6
Presentation transcript:

CHAPTER 13 Internet and Distributed Application Services

I. Distributed Computing  Client-Server Architecture Network printing services implemented with client- server architecture Service request Response Document Fig.13-2

Three-layer Architecture User request View layer Information request Business Logic layer Unformatted response Data layer Database query Query response Fig. 13-3

 N-Layer Client-Server Architecture  The data layer manages stored data, usually in one or more databases  The business logic layer implements the rules and procedures of business processing  The view layer accepts user input and formats and displays processing results

II. Network Resource Access  Protocol stacks  They divide the task of network interaction into several well-defined pieces that can be separately implemented and installed  They provide the flexibility needed to keep up with rapid protocol standard evolution

 They insulate application programs and many portions of the operating system from details of low-level network communication protocols and physical network implementation, which ensures software portability across a wide range of network protocols and transmission media

Two upper-level stacks sharing a single NIU and driver OSI Session layer Transport Layer Interface Sockets OSI Transport layer Sequenced Packet Exchange Transmissio n Control Protocol OSI Network layer Internet Packet Exchange Internet Protocol Logical network interface driver Open Data Interface OSI Data Link layer (Physical Network Interface Driver) 10-Mbps Ethernet OSI Physical layerTwisted-pair copper wire Layer description Stack 1Stack 2 Fig. 13-4

 Accessing Remote Resources  Operating systems, application programs, and user interfaces are simpler if there is no distinction between local and remote resource access  All resources potentially are shared across a network  Any computer system potentially is both a client and a server  Resources can be moved among computer systems

Software layers to access local and remote resources Application program Local service layer Fig Resource locator Service provider Local device driver Local hardware device Service call Service request Low-level protocol stack Network messages

Resource Locator has two important tasks: The locator resources referred to in service requests from local or remote users and programs Route service requests to the appropriate service provider

III. Interprocess Communication OSI Application layer DCE RPC Named Pipes OSI Session layerSockets OSI Transport layer Transmission Control Protocol OSI Network layer Internet Protocol Fig.13-7  Peer-to-peer protocols layered over TCP/IP

TCP/IP layer  Sockets Fig  Multiple Processes communicating through sockets Client process 0|1|2|3|4|5|6 Sockets ( ) Physical layer 0|1|2|3|4|5|6 Sockets TCP/IP layer ( ) Physical layer Network Computer A Computer B

 Named Pipes  A name that is permanently placed within a file system directory  The ability to communicate among processes on different computers

Fig  Two processes communicating through a named pipe Sending process I/O buffer Named pipe Service I/O buffer Named pipe Service 0|1|2|3|4|5|6 Sockets 0|1|2|3|4|5|6 Sockets TCP/IP layer Physical layer Computer A Computer B File I/O Service calls File I/O Service calls Network

 Remote Procedure Calls  Passes parameters to the called process  Waits for the called process to complete its task  Accepts parameters back from the called process  Resumes execution with the instruction following the call

IV. The Internet The Internet is a global collection of networks that are interconnected using TCP/IP The World Wide Web(www), also called the Web, is a collection of resources(programs, files, and services) that can be accessed over the Internet by standard protocols such as the File Transfer Protocol(FTP) and Hypertext Transfer Protocol(HTTP) An Intranet is a private network that uses Internet protocols but is accessible only by a limited set of internal users(usually members of the same organization or workgroup). It also describes a set of privately accessible resources that are organized and delivered via one or more Web protocols over a TCP/IP network

 Standard Web Protocols and Services  Protocol- an optional header specifying the resource access protocol ( is the default value)  Host- the P number or registered name of an Internet host computer or device  Port- an optional port number that, together with the IP address, specifies a socket as described in Chapter 9 (if omitted, a standard port number for the protocol is assumed)  Resource- the complete path name of a resource on the host (if omitted, the host can be configured to supply a default value)

http: // averia.unm. edu :8 0/ default. htm Fig  URL components Optional protocol header and separator Optional port number and separator IP address or host name Optional resource name on IP host

Fig  Web protocols CategorySample Protocols Formatted and linked documents Hypertext Markup Language (HTML) and Extensible Markup Language (XML) File and document transferFile Transfer Protocol (FTP) and Hypertext Transfer Protocol (HTTP) Remote login and process execution Telnet, tn3270, and Remote Procedure Call (RPC) Mail and MessagingSimple Mail Transfer Protocol (SMTP), Post Office Protocol (POP), and Internet Message Access Protocol (IMAP) Executable programsJava, JavaScript, and Visual Basic Script (VBScript)

Fig  Telnet Connection Telnet client Network protocol stack O/S command layer Telnet server Network protocol stack Local host Remote stack

 The Internet as an Application Platform

Fig  A distributed Web-based application Database server Web server Payroll database Payroll update application Database server software Web server software Web browser software Home or office microcomputer User

Although sockets, named pipes, HTTP, and HTML are adequate to implement distributed applications, they’re not optimal for the following reasons: With lower-level protocols, server addresses are stored in client configuration files or source code. I server resources are moved, the clients must be reconfigured or recompiled. Breaking up server-side processes into small manageable pieces is difficult. Each new distributed piece requires a new set of hard- coded connections. Developers usually create large complex server processes to avoid the complexity of large numbers of connections between many smaller server processes. But doing so reduces the chances that server processes can be incorporated into multiple distributed applications.

V. Components and Distributed Objects Component- Is executable Has a unique identifier Has a well-known interface

 Component-Based Software  The developers of another word processing program want to incorporate the existing grammar-checking function into their product  The developers of the grammar-checking function modify it to improve speed and accuracy

 Components and objects  Connection Standards and Infrastructure

Fig  Standard connectors and infrastructure enable communication between telephones Telephone infrastructure

Two important issues protocols don’t address: Format and content of valid messages and responses Means of uniquely identifying each component on the internet and routing messages to and from that component

 CORBA  Object Request Broker(ORB), a service that maintains a component directory and routes messages among components  Internet Inter-ORB Protocol(IIOP), a component message-passing protocol

 COM+  Components are not assigned a permanent identifier and their internal states cannot be stored permanently. COM+ components can’t remember information from one invocation to the next. COM+ components are similar to functions or subroutines. CORBA components are objects  COM+ Components are registered in the Windows Registry of the client machine on which they’re installed. The Windows Registry stores information other than component registrations, including hardware configuration, software configuration, and user profile information. A CORBA ORB is dedicated to component services

VI. Directory Services Stores the name and network address of distributed resources Responds to directory queries Accepts directory updates Synchronizes replicated or distributed directory copies Network operating system directories store information about: Registered users and their permissions to access directory objects Shared hardware resources such as printers Shared files, databases, and programs Computer systems and specialized hardware devices such as network storage appliances

 Lightweight Directory Access Protocol (LDAP)

Fig  An LDAP hierarchy of objects and container objects O = School of ManagementO = School of Law O = Faculty O = Workstations O = Servers DN = AGUILA DN = ASM DN = AVERIA DN = Ranjit BoseDN = Stephen Burd Directory root C = Mexico C = USA C = Canada OU = University of New MexicoOU = New Mexico State University O = School of Arts and Sciences