首页> 外文学位 >An open framework code generation toolkit for distributed systems based on XML Schemas.
【24h】

An open framework code generation toolkit for distributed systems based on XML Schemas.

机译:一个用于基于XML模式的分布式系统的开放框架代码生成工具包。

获取原文
获取原文并翻译 | 示例

摘要

Code generators for distributed computing systems shield users from the low level communication details of the underlying run-time systems by isolating those details in a library against which code can be linked. Distributed systems have complex run time systems designed to run in heterogeneous environments with dynamically varying loads, multiple communication protocols and they adhere to different Quality of Service (QoS) requirements. To leverage the strengths of each distributed system, a user may want to develop an application that has components from several of these different systems. In such cases the user needs to use a code generator for each one of the distributed systems that the application incorporates. Instead, it is desirable to present the user with a flexible code generation framework that accepts a simple yet powerful interface definition language and is capable of generating code for multiple distributed systems.; The architecture of such a code generator needs to capture the common traits of distributed systems and also needs to maintain their individual specializations. To achieve this we need to meet three challenges. Firstly, we need to identify and define the common features in the code generated for various distributed systems. Secondly, users should have an elegant and simple mechanism to specify their interfaces. Thirdly, the architecture should be extensible. With the passage of time new protocols will be developed and it is important that the architecture be flexible enough so that it can be used with new programming languages, future network protocols and new run-time systems.; In this dissertation we propose the design and implementation of an architecture, the Open Framework Code Generation Toolkit (CGT), that meets these three challenges. Instead of using specialized code generators the CGT can be used as the universal code generator for any distributed system. We have created a set of tools to translate XML Schema-based specifications into code in various languages. We identify the design patterns that commonly occur in the generated code for distributed systems.
机译:分布式计算系统的代码生成器通过隔离库中可以链接代码的那些细节,使用户免受底层运行时系统的低级通信细节的影响。分布式系统具有复杂的运行时系统,旨在在具有动态变化的负载,多种通信协议的异构环境中运行,并且它们遵循不同的服务质量(QoS)要求。为了利用每个分布式系统的优势,用户可能希望开发一个包含来自这些不同系统中的几个组件的应用程序。在这种情况下,用户需要为应用程序包含的每个分布式系统使用代码生成器。相反,希望为用户提供一个灵活的代码生成框架,该框架接受简单而强大的接口定义语言,并能够为多个分布式系统生成代码。这种代码生成器的体系结构需要捕获分布式系统的共同特征,并且还需要维护其各自的专业知识。为了实现这一目标,我们需要面对三个挑战。首先,我们需要识别并定义为各种分布式系统生成的代码中的通用功能。其次,用户应具有优雅而简单的机制来指定其接口。第三,架构应该是可扩展的。随着时间的流逝,将开发新的协议,并且重要的是架构必须足够灵活,以便可以与新的编程语言,未来的网络协议和新的运行时系统一起使用。在这篇论文中,我们提出了一种架构的设计和实现,即开放框架代码生成工具包(CGT),它可以应对这三个挑战。代替使用专门的代码生成器,CGT可以用作任何分布式系统的通用代码生成器。我们已经创建了一套工具,可以将基于XML Schema的规范转换为各种语言的代码。我们确定在分布式系统的生成代码中通常会出现的设计模式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号