arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1609.09656cs.SE
收藏

从需求模型自动生成企业应用

Automated Enterprise Applications Generation from Requirements Model

Yilong Yang

摘要:

基于模型驱动的方法,可以从复杂的OO设计模型自动生成企业应用程序。设计模型包含有关如何将系统分解为组件、如何将系统操作封装到类中以及类的对象如何协作以实现系统操作的功能的信息。然而,从经过验证的需求模型构建设计模型的努力与回报不成比例。在实践中,非常希望有一种方法可以直接从经过验证的需求模型自动生成标准化的企业应用程序。在本文中,我们提出了一种方法RM 2 EA,它可以达到这一目标的基础上,基于合同的需求模型。我们通过13个案例研究证明了所提出的方法。评估结果表明,生成的应用程序的质量和效率几乎等于开发人员实现的应用程序:首先,我们证明了一种流行的企业应用程序类型(即,一个Jakarta EE应用程序)可以通过定制和改进规则集成功生成;第二,RM 2 EA可以生成可读性更强或更易维护的代码;第三,RM 2 EA生成的企业应用程序在测试结果中达到了相似的性能。总体而言,结果是令人满意的,所提出的方法的实施可以进一步加强和应用到软件开发行业。

英文摘要:

Enterprise applications can be automatically generated from a sophisticated OO design model based on model-driven approach. The design model contains information about how to decompose the system into components, how to encapsulate the system operations into classes, and how the objects of classes collaborate to fulfill the functionality of the system operations. However, the efforts to build the design model from a validated requirements model are not proportional to the return. In practice, it is very desirable to have an approach that can automatically generate standardized enterprise applications directly from the validated requirements models. In this paper, we propose an approach named RM2EA, which can reach this goal based on the contract-based requirements model. We demonstrate the proposed approach through 13 case studies. The evaluation result shows that the quality and efficiency of the generated applications are almost equal to the applications implemented by developers: firstly, we demonstrate that a popular type of enterprise applications (i.e., a Jakarta EE application) can be successfully generated by customizing and improving the set of rules; secondly, RM2EA can generate more readable or maintainable code; thirdly, the enterprise applications generated by RM2EA achieve similar performance in test results. Overall, the result is satisfactory, and the implementation of the proposed approach can be further enhanced and applied to software development in the industry.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑