资源描述:
《ApplicationClientServeur-Oocities:应用clientserveur-oocities》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter3.Networkarchitectures:Client/server&middlewareINE4481DISTRIBUTEDDATABASES&CLIENT-SERVERARCHITECTURESCONTENTNetworksarchitecturesClient/ServerThemiddlewareRPCmodelGatewaysTransparencyClientserverrequirementsA.Obaid-WilfriedProbst–RufinSohINE4481DISTRIBUTEDDATABASES&CLIENT-S
2、ERVERARCHITECTURESCONTENT(1)NetworksarchitecturesYesterdayTodayA.Obaid-WilfriedProbst–RufinSohINE4481DISTRIBUTEDDATABASES&CLIENT-SERVERARCHITECTURESNetworkarchitecturesHistoricallyyouhad:Centralizedarchitecture:Slaveterminals,Mono-technology,MonoOS,proprietariessystems,…Non-relatio
3、nalDB:IDS2,DB2,..StruturalProgramingLanguages:COBOL,…A.Obaid-WilfriedProbst–RufinSohINE4481DISTRIBUTEDDATABASES&CLIENT-SERVERARCHITECTURESNetworksarchitectures(2)Thencamedistributedarchitecture:Networks,morepowerfulPC,openOS.StandardsandAPIInterfaces,relationalDBQueryLanguages4GL:S
4、QL,…Developmenttools.Transport(communications)tools.Client/Server.RulesApplicationsApplicationsDBMSOSApplicationsCompanynetworkDBRequestResponseServerClientsWindowsOS/2UnixA.Obaid-WilfriedProbst–RufinSohINE4481DISTRIBUTEDDATABASES&CLIENT-SERVERARCHITECTURESCONTENT(2)Networksarchite
5、cturesClient/ServerClient/ServerModelClient?Server?Request?Response?Examples?A.Obaid-WilfriedProbst–RufinSohINE4481DISTRIBUTEDDATABASES&CLIENT-SERVERARCHITECTURESClient/ServerModelClient:Processthatrequestaserverprocesstocomputeanoperation,bysendingamessagecontainingdetailsontheope
6、rationtocompute.Afterarequestissent,theclientwaitstheserverresponse.Server:Processthatreceivesclient’srequest,computethedemandedoperationandsendbackaresponsetotherequester.Request:Messagetransmittedfromaclienttoaserver,andcontainingadescriptionofthetaskstobeexecutedonbehalfof(orfor
7、)thisclient.Response:Messagetransmittedbackbyaservertoaclientaftertherequestedoperationhasbeenexecuted,andcontainingthereturnstatusoftheoperation.A.Obaid-WilfriedProbst–RufinSohINE4481DISTRIBUTEDDATABASES&CLIENT-SERVERARCHITECTURESClient/ServerModel(2)Themostpopularmodelsare:Peerto
8、peerFilter(gateway,firewal