1、 摘 要 软件工程在现代软件开发中的作用越来越大,并且发展出了很多行之有效的软件工程方法和建模语言。 UML( Unified Modeling Language,统一建模语言)是一种非常流行的,支持面对对象建模方法的建模语言。到今天 UML 差不多已经成为建模语言的事实标准。本文就采用面对对象的方法以 UML 为建模语言,使用 PowerDesigner这个 case工具分析设计一个分布式的 B/S结构的基于 COM+和 XML 的网络考试系统。并使用 Delphi、 VBScript、 ADO、 XML、 HTML 等编程工具、语言 和技术实现了这个系统。 关键词: UML COM+ De
2、lphi ASP ADO XML Abstract Software Engineering is increasingly important in then modern software development. Today there are many functions and many software engineering methods. The UML (Unified Modeling Language) is one of they. In addition, its a popular and Object-Oriented based model language.
3、 The UML has almost been the international standard of model language. Using Object-Oriented Model and UML by case tools of PowerDesigner, the paper designs a distributed B/S constructed online test system, which is based on COM+ and XML. In order to realize the system a lots of tools and program la
4、nguages are used, such as Delphi, VBScript, ADO, XML, and HTML etc. Key Words: UML COM+ Delphi ASP ADO XML 目 录 分布式网络考试系统原型分析及实现 错误!未定义书签。 1. 问题定义 4 2. 需 求分析 4 2.1. 系统目标 4 2.2. 可行性分析 4 2.2.1. 现有的数据库应用程序的分层结构 4 2.2.1.1. 传统二层结构 4 2.2.1.2. 三层数据库应用结构 5 2.2.1.3. 多层分布式数据库系统 5 2.2.2. 网络分布式多层应用系统 6 2.2.3. XM
5、L 语言 7 2.3. 本系统的方案选择 8 2.4. 建模工具的选择 8 3. 基于 UML 的系统分析 8 3.1. 用例图 8 3.1.1. 用户关系图 8 3.1.2. 系统用例图 9 3.1.3. 用例图利用情况清单 9 3.2. 顺序图 10 3.2.1. 老师活动顺序图 10 3.2.2. 学生活动顺序图 11 3.2.3. 动作清单 11 3.2.4. 通讯清单 12 3.3. 类图 13 3.3.1. 类图一 13 3.3.2. 类图二 13 3.3.3. 类清单 14 3.3.4. 类方法清单 14 3.4. 网站页面布置图 16 4. 数据库的分析设计 17 4.1. 数据库概念模型( Conceptual Data Model) 17 4.1.1. 图 17 4.1.2. 资料清单 17 4.1.3. 实体清单 18 4.1.4. 实体的识别字清单 18 4.1.5. 关系清单 19 4.2. 数据库物理模型( Physical Data Model) 19 4.2.1. 图 19 4.2.2. 物理模型栏位清单 19 4.2.3. 表格索引清单 20 4.2.4. 表格引键清单 21