Top Banner
Client/Server Computing
24

Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Dec 23, 2015

Download

Documents

Angel Holland
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Client/Server Computing

Page 2: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Client/Server Computing Information processing is distributed

among several workstations and servers on a network, with each function being assigned to the environment that is best suited to perform it. The client initiates the requests and the server responds.

Consolidate the virtues of traditional time-shared mainframe and mini-computer paradigms with the advantages of personal computers, workstations, and local area networks

Page 3: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Components of Client/Server Computing Three interrelated components

Client - the front-endServer - the back-endNetwork - the middle ware

M:N relation between clients and servers.

Page 4: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

A Basic Client/Server Computing Model

Page 5: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Client/Server Architecture The client is any computer process that

requests services from the server. It is also known as the front-end application.

The server is any computer process providing services to the clients. The server is also known as the back-end application.

The communication middleware is any computer process(es) through which clients and servers communicate. It is also known as middleware or communications layer.

Page 6: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

How Client And Server Components Interact

Page 7: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Two levels of communications middleware The physical level deals with the

communications between client and server computers (computer to computer).

The logical level deals with the communications between client and server processes (process to process).

Page 8: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Interaction Between Client/Server Middleware Components

Page 9: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Database Middleware Components Application programming interface

(API) interfaces with the client application.

The database translator translates the SQL requests into the specific database server syntax.

The network translator manages the network communications protocols.

Page 10: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Database Middleware Components

Page 11: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Three Main Benefits of Using Middleware Access multiple databases Database server-independent Network protocol-independent

Page 12: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Middleware Accessing Multiple Database Servers

Page 13: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Application Functional Logic Components

Page 14: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Typical Logic Component Placement

The presentation logic is always placed on the client side.

The I/O processing logic may be placed on the client side or on the server side, but more commonly on the client side.

The business logic can also go either to the client or the server, but usually on the client side.

The data management logic can also be placed on either the client or the server side, but normally on the server side as part of the application code.

The data manipulation logic is most commonly located on the server side.

Page 15: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Functional Logic Splitting In Four Client/Server Architectural Styles

Page 16: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Microsoft SQL Client/Server Connection

MicrosoftSQL(server version)

MicrosoftSQL(workstation version)

LAN

Client PC ServerComputer

Page 17: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Microsoft SQL Client/Server Connection

At the server site, DBA creates a SQL database for the user

At the client site, the user can make remote registration and logon to access SQL database stored on the server

Page 18: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

MicroSoft SQL Server SQL Server registration

local and remote servers SQL Server security control

Windows NT authenticationSQL user authentication

User access privilege specification

Page 19: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

SQL Client/Server Connection

Buscom SQLserver

Local SQL server

MGD B106 Computer or your own PC

Remote SQL server registration

User authentication using

your user name and password

Local SQL server registration

Import/export

Backup disk

Backup/restore

Yourdatabase created by DBA

You create your own

database

Page 20: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

Linking to SQL Server from Access

MicrosoftSQL

MicrosoftAccess

Internet

ODBC

Client 1 DB Server

MicrosoftAccess

ODBC

Client 2

LAN

ODBC

Web Server

ASP

Page 21: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

ODBC Open Database Connectivity DBMS-independent means for

processing relational database data ORACLE SYBASE INFORMIX

Page 342

Page 22: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

ODBC Terminology Data source: the database, its

associated DBMS, operating system, and network platform

Driver manager: intermediary between the application and DBMS drivers

Driver: processes ODBC requests and submits SQL statements to a data sourcePage 343

Page 23: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.

ODBC Architecture

Page 343Figure 13-5 © 2000 Prentice Hall

Page 24: Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.