文档详情

基于UML的面向对象数据持久化研究-计算机应用专业论文.docx

发布:2018-12-17约5.58万字共125页下载文档
文本预览下载声明
摘要.,—\f自从提出面向对象的概念以来,面向对象技术作为一种优秀的软件丌发方 摘要 .,—\f自从提出面向对象的概念以来,面向对象技术作为一种优秀的软件丌发方 法奄获得广泛的应用。随着统一建模语言UML和统一建模方法的提出,相应 建模工具的产生,面向对象的软件开发已经成为构造高效、灵活、易扩展的 应用系统的主导方法。而现存的许多系统的最终数据的存储却与面向对象无 关,数据存在各种各样的数据源中,如关系数据库、对象数据库、文件数据 库、企业的信息系统。当前关系数据库是主流的数据库系统,约有70%的信息 系统使用关系数据库存储、管理数据。为了充分利用这些技术的优点,用面 向对象技术进行系统地分析、设计与实现,利用关系数据库或其他方式存储 对象,以便最终构造高性能、易扩展的系统,很有必要提出一套支持多格式 数据源的面向对象的数据持久化的方法,解决面向对象与其他技术之问的隔 阂吖 。本文的研究工作是在当前众多的对象存储技术的基础上进行的。本文首先 分析了目前面向对象的数据持久化方法及其缺点,指出了新一代的面向对象 数据持久化的要求。然后提出了一套基于UML的面向对象数据持久化体系结 构,讨论了UML对象持久亿扩展,对象数据持久化(ODP)的体系结构,ODP持 久化实例生命期状念,ODP查询语言,面向对象的方法级事物及其实现。接着 讨论了面向对象持久化的实现,讨论了ODP对象关系映射,ODP查询语言‘与结 构化查询语言‘的转化。 最后本文描述了基于UML的面向对象数据持久化技术在实际的纺织ERP项 目中的应用。 (具体而言本文作了以下几项工作 ●提出了一套UML对象持久化扩展,使用户能够可视化的利用UML语 言对系统建模。 \’一 ·衰出了面向对象数据持久化的体系结构,该体系结构能够支持多种 格式的数据源。 ●解决了方法级事务控制在.Net下的实现,一使得三层应用的丌发者能 较简单地处理复杂的跨越方法的事务。吖 | 关键字: 面向对象,数掘存储,哂晦L 第lI贝 AbstractObject-oriented Abstract Object-oriented technology has been widelY used excel lent software deveIoDing method sinee it emerged.With the appearance of U眦and the l ated too I s。object—or i ented software deve l op}ng method has become the predominant method construct efficient.fIexibIe and extendabIe appI ication system.However.the data of exi sting systems stored ln al kinds of data such RDB。OODB,fi Ie database and enterpri information system instead of in singIe OODB. RDB is the dominant database system at present,About 70%appI ication systems store and data i th RDBMS.1 order to 1 yze.des i gn and impIement the system with object—or iented technoIogy.and at the tifile。store the objects in RDI猢S in any other way。;t ls necessary to propose object-oriented data—persi stent method supporting muIti—structuraI data The research in the thesis is based the object-oriented storing technoIogy.Fi rstIY。the thesis anaIyzes the di sadvantage of the current object-oriented data-persistent method and then presents the requi rement of object—or;ented data—petsistence.SecondIy.the thesi presents object—or iented data—persistent architecture b
显示全部
相似文档