
面向表示层集成的组件模型研究.docx
85页硕士学位论文面向表示层集成的组件模型研究作者姓名:刘君学科专业:计算机应用技术 导师姓名:黄涛 研究员 完成时间:二○一二年十月二十二日University of Science and Technology of China A dissertation for master degreeAuthor:Speciality:Computer Application Technology Supervisor:Prof.Tao HuangFinished Time:10,22, 2012面 向 表 示 层 集 成 的 组 件 模 型 研 究十 一 系大 学中国科学技术大学学位论文原创性声明本人声明所呈交的学位论文, 是本人在导师指导下进行研究工作所取得的成 果除已特别加以标注和致谢的地方外,论文中不包含任何他人已经发表或撰 写过的研究成果与我一同工作的同志对本研究所做的贡献均已在论文中作了 明确的说明作者签名:签字日期: 中国科学技术大学学位论文授权使用声明作为申请学位的条件之一,学位论文著作权拥有者授权中国科学技术大学 拥有学位论文的部分使用权,即:学校有权按有关规定向国家有关部门或机构 送交论文的复印件和电子版,允许论文被查阅和借阅,可以将学位论文编入《中国学位论文全文数据库》等有关数据库进行检索,可以采用影印、缩印或扫 描等复制手段保存、汇编学位论文。
本人提交的电子文档的内容和纸质论文的 内容相一致保密的学位论文在解密后也遵守此规定□ 公开□ 保密年作者签名:导师签名: 签字日期:签字日期: 摘要摘要表示层集成是通过集成组件的表示前端来构造复合应用的一种方式组件 是独立的、粗粒度的模块或者应用通常的应用层、数据层集成技术能够重用 组件的业务逻辑和数据,但复合应用仍然需要重新构造自身的用户界面表示 层集的目的在于重用组件的全部资产,因此能够极大的降低构造复合应用的代 价和难度,以至于在实际中有些复合应用的构造基本上由终端用户就可以完成然而目前面向表示层集成的组件技术还不成熟,典型的表示层组件技术如 portlet 尽管容易被终端用户使用,但仅支持静态的界面组合,被组合的组件之 间仅有非常松散的关联,这导致了难以基于既有组件构造复杂的复合应用,不 支持构造组合组件的概念,也无法重用组合的结果因此提出一个容易被终端 用户使用并且具有完备组合表达能力的组件模型具有重要意义本文根据面向表示层集成技术的特点,提出了一个接口简单定义良好的组 件模型,这种组件模型能方便地集成现有的应用,支持定制组件和构造组合组 件其中使用简单类型的属性表征组件的行为,使得用户可以借助于设置属性 表单的方式进行组件的功能定制,采用发布订阅的组件间协作机制,使得组件 间的业务组合能够简单、自动的进行。
组件的界面组合与业务状态动态相关, 能够构建复杂的复合应用为了描述组件及其组合,本文提出了一个领域特定语言 PIDL,该语言提供 了声明式的组件构造和界面绘制功能,通过参数绑定和定义事件过滤器实现组 件间的协作以及与业务服务进行交互语言支持类型标注,能有效地支持构建 设计工具,便于终端用户使用另外语法精简而具有完备的表达能力,便于开 发人员构造复杂、高级的可重用组件最后本文设计了 PIDL 组件的运行平台, 实现了其中的关键技术关键词: 表示层集成, 组件模型, 声明式, 领域特定语言IABSTRACTABSTRACTPresentation integration is the integration of components by combining the presen- tation front-end ,rather than their application logic or data. The components are stand- alone modules or applications. It is coarse-fined integration. The goal is to leverage the components’ individual UIs to produce composite application. this kinds of integration can reduce the cost of build composite application magically, since it can reuse the com- ponents in whole,because it requires little or no programming work, event end-user could build composite application.However, current presentation integration oriented component technology is not mature. Althought typical presentation-orient component technologies such as portlet are friendly for end-user. they only support static ui composition, the composite appli- cation is aggregation of components which are loosely conjunctional. they can not be used to build complex composite aplication. and they do not support build composite component for reuse. therefor it is meaningful to create a new component mode for presentation integration that is both user friendly and expressive. so that we can build real rich composite application.The paper consider the situation of presentation integration carefully. and give a simple but rigorous component model. The component model could be easily under- stood by end-users, and it enable easily integrating the applications from heterogeneous technologies. it support custom component and build composite component. A com- ponent is characterized by properties with primitive types. so end-users could custom component in property-sheet sytes. the component model adopt pub/sub mechanism for event cooperation. it allows components cooperation can be done in simple and automatic way. Specially, it support dynamic UI composition that is interrelated with business state.Further more,The paper give a domain specific language named PIDL to describe components and their composition. PIDL construct component and render user inter- face in declarative way. by parameter bindings and define event filters component can interact with each others and business services. PIDL are optional typed. the designer toolkit could be benefit much from it. And at the same time, PIDL is simple and expres- sive, could used by developer to build more complex and advance reusable components for end-user. finally, we give a design for PIDL runtime platform, and implement some key technologies.IIIABSTRACTKeywords: presentation layer integration,component model,declarative,DSLIV目录目录摘要 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·IABSTRACT · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·III目录 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·V第一章 绪论 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·11.1 研究背景 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·11.2 研究问题 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·11.3 研究内容 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·21.3.1 面向表示层集成的组件模型及其组合模型 · · · · · · · · · · · · · · · · · · · ·21.3.2 表示层集成的描述语言 PIDL · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·21.3.3 PIDL 组件运行平台 · · · ·。
