【正文】
2022 導(dǎo)論 (4/8) Threetier Client / Server architecture (續(xù) ): ? Threetier主要目的為降低 Client Side的運(yùn)算負(fù)擔(dān),成為一 ”thin client”。 ? 最終的目的是將所有的 tiers藉由 interface、middleware整合起來。 Server Client request response This document is made by Patrick Ou Yang , 2022 導(dǎo)論 (2/8) What’s “tier” ? ? 在電腦硬體上, Tier係指一個實(shí)體的元件將硬體的架構(gòu)分割成為一至多個子層次 (sublayer)。JSP程式設(shè)計 基本概論 歐陽芳泉 FangChuan Ou Yang This document is made by Patrick Ou Yang , 2022 課程摘要 導(dǎo)論 Tomcat的設(shè)定 JSP基本概念 導(dǎo)論 This document is made by Patrick Ou Yang , 2022 導(dǎo)論 (1/8) Client / Server: ? Client為服務(wù)的需求者; Server為服務(wù)的提供者。 ? 一臺主機(jī)可能為 Client亦為 Server。 ? 在軟體上, Tier係指一個屬於特定領(lǐng)域的軟體,而不同於其他軟體。 This document is made by Patrick Ou Yang , 2022 導(dǎo)論 (3/8) Threetier Client / Server architecture: ? 在 Client / Server中,亦即使用者系統(tǒng)與資料庫之間加入一個中介層 (middle tier)。 ? Middle tier的實(shí)作上有很多型式,例如:transaction processing monitors, message servers application servers… This document is made by Patrick Ou Yang , 2022 導(dǎo)論 (5/8) Application Server in Threetier : ? 不負(fù)責(zé) GUI,而是負(fù)責(zé)分享商業(yè)邏輯,運(yùn)算以及連接資料庫。 This document is made by Patrick Ou Yang , 2022 導(dǎo)論 (6/8) What’s middleware ? ? 藉由標(biāo)準(zhǔn) (standards)或協(xié)定 (protocols)來作為不同硬體間的橋樑。 ? Middleware 可以分為三個層次 : – Fundamental middleware : lowlevel system, such as work operating system (NOS) – Applied middleware: it usually followed standards or specs. such as CORBA, RMI, ODBC – User refined middleware: based on applied middleware to customized a particular system. This document is made by Patrick Ou Yang , 2022 導(dǎo)論 (7/8) Modern C/S Business Application Architecture: ? 分為使用者介面層、商業(yè)邏輯層、資料層。能夠執(zhí)行 Servlet與 JSP的環(huán)境; Tomcat亦