——计算机信息处理技术 成都理工大学 苗放 2003年10月

Slides:



Advertisements
Similar presentations
高考短文改错专题 张柱平. 高考短文改错专题 一. 对短文改错的要求 高考短文改错的目的在于测试考生判断发现, 纠正语篇中 语言使用错误的能力, 以及考察考生在语篇中综合运用英 语知识的能力. 二. 高考短文改错的命题特点 高考短文改错题的形式有说明文. 短文故事. 书信等, 具有很 强的实用性.
Advertisements

云计算辅助教学风云录 黎加厚 上海师范大学教育技术系 2010年8月9日.
FAQ :住宿規則 / Dormitory Regulations
微软与高校信息化 李 志 霄 博士 首席技术官 微软(中国)有限公司.
简化 IT,促进创新 — 为现代企业带来新生机
“Internet+” Business Innovation
金融信息安全人才培养的思考与实践 中央财经大学 朱建明 2012年11月24日.
第8章 系統架構.
即兴中文讲演比赛 On-Site Speech 新型比赛项目
鼎新電腦 Exchange電子流程解決新方案 EasyFlow鼎新電子流程管理系統.
Operating System CPU Scheduing - 3 Monday, August 11, 2008.
Module 5 Shopping 第2课时.
Ⅱ、从方框里选择合适的单词填空,使句子完整通顺。 [ size beef special large yet ]
Unit 2 What should I do?.
Microsoft Access 第十二組 黃彥維 陳重嘉.
形式语言与网络 计算环境构建 1.
Web-based cooperation + Data Intelligence for Malaysian SME
Applied Operating System Concepts
从UNIX到Windows的 电信软件移植实践
第 1 章 ERP的演变.
Chap 3 資料庫模型與處理架構.
圖形溝通大師 Microsoft Visio 2003
Logistics 物流 昭安國際物流園區 總經理 曾玉勤.
BizTalk Server 2004.
Chapter7 全球資訊網與瀏覽器介紹 網路應用入門(一) Chapter7 全球資訊網與瀏覽器介紹
创建型设计模式.
SAP 架構及基本操作 SAP前端軟體安裝與登入 Logical View of the SAP System SAP登入 IDES
微软新一代云计算 面向企业的 Office 365 客户培训大纲
建设 21 世纪 具有国际先进水平的 教育与科研计算机网
第4章(1) 空间数据库 —数据库理论基础 北京建筑工程学院 王文宇.
中国农村沼气政策与发展战略 李景明 中国北京 农业部科技发展中心能源生态处处长 中国沼气学会秘书长.
Supernatural Love and Unity
Try to write He Mengling Daqu Middle School.
The Sino-US Trade & Economic Relations
Could you please clean your room?
錢買不到的禮物 自動換頁 音樂:海莉·衛斯頓 演唱<Nada Sousou> 日本電影「淚光閃閃」主題曲英文版
DevDays ’99 The aim of this mission is knowledge..
客户服务 售后服务.
Microsoft SQL Server 2008 報表服務_設計
IBM SWG Overall Introduction
SAP R/3架構及前端軟體安裝 Logical View of the R/3 System SAP Frontend 6.2安裝
資料庫 靜宜大學資管系 楊子青.


Real-Time System Software Group Lab 408 Wireless Networking and Embedded Systems Laboratory Virtualization, Parallelization, Service 實驗室主要是以系統軟體設計為主,
橫跨電腦、手機與軟體的全方位端點管控解決方案
Supply Chain Management
中国科学技术大学计算机系 陈香兰 2013Fall 第七讲 存储器管理 中国科学技术大学计算机系 陈香兰 2013Fall.
虚 拟 仪 器 virtual instrument
中国科学技术大学计算机系 陈香兰 Fall 2013 第三讲 线程 中国科学技术大学计算机系 陈香兰 Fall 2013.
以阅读策略为抓手 以教师引领为提升 年温州一模阅读理解分析及对策
從 ER 到 Logical Schema ──兼談Schema Integration
COM组件及其设计 一、COM组件定义和DNA思想简介 二、COM组件的特点 三、COM组件对象的软件工程方法 四、DNS、MTS
模式与实践:Windows Mobile 5.0应用程序架构
中考英语阅读理解 完成句子命题与备考 宝鸡市教育局教研室 任军利
Transformational Leadership
DEV 343 VS2005超快速开发方案/EEP2006控件包.
高考应试作文写作训练 5. 正反观点对比.
NASA雜談+電腦網路簡介 Prof. Michael Tsai 2015/03/02.
2019/4/27 华为公司标准工作汇报 华为技术有限公司 2009年10月.
SAP 架構及基本操作 SAP前端軟體安裝與登入 Logical View of the SAP System SAP登入 IDES
DEV 343 VS2005超快速开发方案/EEP2006控件包.
創造思考的開發與培養.
11 Overview Cloud Computing 2012 NTHU. CS Che-Rung Lee
案例分析: THE NEXTGEN POS SYSTEM
SAP 架構及前端軟體安裝 Logical View of the SAP System SAP Frontend 7.1安裝 SAP登入
MGT 213 System Management Server的昨天,今天和明天
錢買不到的禮物 自動換頁 音樂:海莉·衛斯頓 演唱<Nada Sousou> 日本電影「淚光閃閃」主題曲英文版
ppt宝藏提供 中国银行业信息化系统建设研讨会
Start today. Change tomorrow.
Presentation transcript:

——计算机信息处理技术 成都理工大学 苗放 2003年10月 软件构建体系结构 ——计算机信息处理技术 成都理工大学 苗放 2003年10月 TechEd 2002

内容: N层结构体系 Microsoft DNA J2EE结构 Microsoft .NET框架 Sun ONE的体系结构(JDS, JES) Session time: 75 minutes N-Tier Review 10 Architecture 10 Transactions on the Web 20 Queued Web Service Calls 20 Q/A 15 TechEd 2002

什么是N层结构

N层结构概述 表示服务层 业务服务层 数据服务层 绘制用户界面 处理用户输入 运行业务规则和逻辑 抽象表示数据存储 确保原子性、一致性、 隔离性、经久性 (ACID) Let’s begin with a quick review of N-Tier architectures. Most people think of 3 main tiers, Presentation, Business Services and Data Services. Each tier seeks to provide a clean separation of the internals from the interface that the tiers above it seek to use. As our world becomes more and more connected this is becoming even more important. Presentation services focus on the user experience. The interface could be anything from a phone to a web browser or a rich client. Each of these clients must be able to communicate to the business services tier to obtain data required for rendering the user interface and for taking action based on user requests. The Business service layer must be able to apply business rules and logic safely and securely. The Data services layer provides data to the business services layer and protects the data from catastrophic failures. Another key job of the data services layer is to abstract the specifics of the data store allowing the business services to transparently work with different data store providers. TechEd 2002

为什么使用N层结构 分层结构的系统易于演化 隔离下层修改对上层的影响 在不同的信任域执行业务逻辑 易于部署 扩展灵活 反例: Mainframe -> client/server 隔离下层修改对上层的影响 在不同的信任域执行业务逻辑 易于部署 在少数服务器上部署而不是所有客户端 扩展灵活

内容: N层结构体系 Microsoft DNA J2EE结构 Microsoft .NET框架 Sun ONE的体系结构

Windows DNA体系结构 (Distributed interNet Application Architecture) The previous generation of n-tier architecture launched in 2000 was Windows DNA. Most of you are familiar with this because you have been building applications based on the Windows DNA model. TechEd 2002

Windows DNA体系结构 表示服务层 业务服务层 数据服务层 MFC (C++) / VB6表单 ASP COM+ ADO / ODBC / OLE DB SQL Server Session time: 75 minutes N-Tier Review 10 Architecture 10 Transactions on the Web 20 Queued Web Service Calls 20 Q/A 15 TechEd 2002

Windows DNA体系结构 Key Concepts 表示层——用户界面部分 主要是通过在客户端浏览器中运行HTML、DHTML、Scripting、JavaApplet和ActiveX、XML,以实现用户与应用逻辑处理结果的通信 在Internet应用环境中,表示层的工作由瘦型客户机来完成 事务逻辑层——负责处理表示层的应用请求,完成商务逻辑的计算任务,并将处理结果返回给用户 事务逻辑处理层是将原先置于客户端的事务逻辑分离出来,集中置于服务器部分,为所有用户共享 事务逻辑层是整个应用的核心部分,而组件对象模型COM/COM+则相当于心脏 事务逻辑层通过COM/COM+进行事务处理,并由IIS(Internet Information Server)和MTS(Microsoft Transaction Server)为各种应用组件提供完善的管理 Key Concepts Application requirements for Server based code are different More plumbing requirements that distract from providing application services Narrative Think of a developer who writes very good calendaring and scheduling program, but has spent an entire career programming for the single user desktop. The developer now moves the server. As more people use the calendaring and scheduling code, the developer has to write more and more “server plumbing”. For example, the developer’s team leader wants to run the calendaring code on a workgroup server. In addition to scheduling code, the developer has to write code for sharing data, managing connections, managing security, and managing context. The department manager sees the application, likes it a lot, and wants it deployed across the entire 200 person department. The developer has to add multi-threading code to scale beyond a user-per-process architecture. The division vice president sees the application, likes it a lot, and wants it deployed across the entire 2,000 person division. Since 2,000 concurrent users (for a real application) strains the performance capacity of most high-end SMP systems, including UNIX systems, the developer has to write code for running the application across several servers, balancing the load among them. The CEO sees the application, likes it a lot, and wants it deployed across the entire 10,000 person company. Most enterprises don’t have 10,000 users at a single site, so the application needs to run on multiple servers running across a wide area network (WAN). This requires the developer to write store-and-forward message queuing code to make sure that the application runs even when the WAN is down. As more and more users rely upon the inventory system, the cost of downtime becomes increasingly expensive. At some point along the way, the developer needs to add high availability code to the application. All of this plumbing code, represented by the arrows in the chart, has nothing to do with inventory management. It represents a tax on developers, the price they have to pay in order to run on scalable servers. TechEd 2002

Windows DNA体系结构 Key Concepts 数据服务层——为应用提供数据来源 和以上的两层体系结构不同,数据库不再和每个活动客户保持一个连接,而是若干个客户通过应用逻辑组件共享数据库的连接,从而减少了连接次数,提高了数据服务器的性能和安全性 可以根据需要选择Microsoft SQL Server、Oracle或任何与OLE DB或ODBC兼容的数据源 Key Concepts Application requirements for Server based code are different More plumbing requirements that distract from providing application services Narrative Think of a developer who writes very good calendaring and scheduling program, but has spent an entire career programming for the single user desktop. The developer now moves the server. As more people use the calendaring and scheduling code, the developer has to write more and more “server plumbing”. For example, the developer’s team leader wants to run the calendaring code on a workgroup server. In addition to scheduling code, the developer has to write code for sharing data, managing connections, managing security, and managing context. The department manager sees the application, likes it a lot, and wants it deployed across the entire 200 person department. The developer has to add multi-threading code to scale beyond a user-per-process architecture. The division vice president sees the application, likes it a lot, and wants it deployed across the entire 2,000 person division. Since 2,000 concurrent users (for a real application) strains the performance capacity of most high-end SMP systems, including UNIX systems, the developer has to write code for running the application across several servers, balancing the load among them. The CEO sees the application, likes it a lot, and wants it deployed across the entire 10,000 person company. Most enterprises don’t have 10,000 users at a single site, so the application needs to run on multiple servers running across a wide area network (WAN). This requires the developer to write store-and-forward message queuing code to make sure that the application runs even when the WAN is down. As more and more users rely upon the inventory system, the cost of downtime becomes increasingly expensive. At some point along the way, the developer needs to add high availability code to the application. All of this plumbing code, represented by the arrows in the chart, has nothing to do with inventory management. It represents a tax on developers, the price they have to pay in order to run on scalable servers. TechEd 2002

内容: N层结构体系 Microsoft DNA J2EE结构 Microsoft .NET框架 Sun ONE的体系结构

J2EE体系结构 Key Points The base services provided by COM+ Simplify server side development Allow you to meet demand Narrative There are 3 basic services that COM+ provides that are needed to make simplification of middle tier development a reality. All first introduced in MTS. First, COM+ provides the listener aspect, it intercepts the call for the component and creates any thread. It needs to pass on any information regarding who is calling. And as component A calls component B that information needs to be propagated along the call chain. Second is the concept of scalability. I need to have an environment that allows us to meet the growth needs of our system, to handle increasing user work (# of users = more transactions = more money). The basic law of scalable applications is scalable applications share. You can’t allocate a resource per user, and you can’t hog vital resources like connections to databases. COM+ provides the infrastructure for allowing pools of resources. Where the number of resources created equals the number that need to do work now. Lastly, Transactions. Transactions hold everything together in complex systems. Inside a database I create a transaction do my work, commit or rollback. Concepts to clarify: Composable components, declare the transaction, multiple systems. Note You may ask why do we need COM+ with IIS? IIS only provides thread pooling for you. COM+ provides all services and not everything is a Web Application. IIS integrates into COM+ to provide some of its services (transactional ASP pages, process isolation, etc) TechEd 2002

EJB结构体系 什么是EJB技术? Session time: 75 minutes N-Tier Review 10 Architecture 10 Transactions on the Web 20 Queued Web Service Calls 20 Q/A 15 TechEd 2002

J2EE的容器和组件

内容: N层结构体系 Microsoft DNA J2EE结构 Microsoft .NET框架 Sun ONE的体系结构 TechEd 2002

Microsoft.NET体系结构 Microsoft.NET是Microsoft公司推出的下一代互联网软件和服务战略,它“代表了一个集合、一个环境、一个可以作为平台支持下一代Internet的可编程结构” .NET的核心是Web Service技术

Microsoft.NET体系结构图 TechEd 2002

Microsoft.NET体系结构 .NET围绕Web Service技术提供: 支持Web Service的运行环境

内容: N层结构体系 Microsoft DNA J2EE结构 Microsoft .NET框架 Sun ONE的体系结构

Sun ONE的体系结构 Sun ONE 的核心目标是构造智能的Web Service系统。 Sun公司认为在互联网环境下,有效的开放智能Web服务基础设施的关键是一系列的服务部件。 为了便于发现和访问,这些服务部件必须在一个中央目录中进行注册,并使用基于标准的结构来表现语境方面的信息,同时它们必须是开放的。

Sun ONE的关键技术 XML标准与技术 XML模式系统、 XML信息传递系统、 XML安全系统 Java技术 J2EE、J2SE、J2ME 基础设施标准 HTTP、SSL、LDAP等

Sun ONE的体系结构图 TechEd 2002

讨论