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 as well as 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 8 case studies. The evaluation result shows that the quality and efficiency of the generated applications are equal to or even better than 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 better performance test results. Overall, the result is satisfactory, and the implementation of the proposed approach has the potential to be further enhanced and applied to software development in industry.
翻译:设计模型载有信息,说明如何将系统分解成各组成部分,如何将系统操作包装成各类,以及各类对象如何合作实现系统操作的功能;然而,从经验证的要求模型中建立设计模型的努力与回报不相称;在实践中,非常可取的做法是采用一种能够直接从经验证的要求模型中自动产生标准化企业应用程序的方法;在本文件中,我们提议了一种名为RM2EA的方法,该方法可以基于合同要求模型达到这一目标;我们通过8个案例研究展示了拟议方法;评价结果表明,所产生的应用程序的质量和效率与开发者实施的应用相同或甚至更好:首先,我们表明,通过定制和改进一套经验证的规则模型,可以成功地产生一种受欢迎的企业应用程序(即雅加达电子电子应用软件);第二,RM2EA可以产生更易读或更可维护的代码;第三,RM2EA产生的企业应用程序在采用更好的业绩测试方法后,总体而言,软件开发结果是令人满意的,软件开发结果得到进一步提高。