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

EMF-REST:从模型生成 RESTful API

EMF-REST: Generation of RESTful APIs from Models

Hamza Ed-Douibi, Javier Luis Cánovas Izquierdo, Abel Gómez, Massimo Tisi, Jordi Cabot

AI总结:

本文提出 EMF-REST 方法,利用模型驱动工程技术从 EMF 数据模型自动生成遵循 REST 原则的 Web API,并集成模型验证与安全能力,提升 Web 开发敏捷性并为 MDE 实践者提供云建模基础。

摘要:

近年来,RESTful Web 服务作为一种轻量级解决方案,在分布式和基于云的架构中连接远程系统变得越来越流行。然而,由于它是一种架构风格而非规范或标准,RESTful Web 服务的正确设计并非易事,因为开发人员必须处理大量的建议和最佳实践。模型驱动工程(MDE)强调使用模型和模型转换来提高抽象层次并半自动化软件开发。在本文中,我们提出了一种利用 MDE 技术生成 RESTful 服务的方法。该方法称为 EMF-REST,以 EMF 数据模型为输入,遵循 REST 原则并依赖知名的库和标准生成 Web API,从而促进其可理解性和可维护性。此外,EMF-REST 集成了模型特性和 Web 特定特性,分别为生成的 API 提供模型验证和安全能力。对于 Web 开发人员来说,我们的方法通过从数据模型提供即运行即测试的 Web API,为 Web 开发过程带来了更高的敏捷性。同时,我们的方法为 MDE 实践者提供了开发基于云的建模解决方案以及增强协作支持的基础。

英文摘要:

In the last years, RESTful Web services have become more and more popular as a lightweight solution to connect remote systems in distributed and Cloud-based architectures. However, being an architectural style rather than a specification or standard, the proper design of RESTful Web services is not trivial since developers have to deal with a plethora of recommendations and best practices. Model-Driven Engineering (MDE) emphasizes the use of models and model transformations to raise the level of abstraction and semi-automate the development of software. In this paper we present an approach that leverages on MDE techniques to generate RESTful services. The approach, called EMF-REST, takes EMF data models as input and generates Web APIs following the REST principles and relying on well-known libraries and standards, thus facilitating its comprehension and maintainability. Additionally, EMF-REST integrates model and Web-specific features to provide model validation and security capabilities, respectively, to the generated API. For Web developers, our approach brings more agility to the Web development process by providing ready-to-run-and-test Web APIs out of data models. Also, our approach provides MDE practitioners the basis to develop Cloud-based modeling solutions as well as enhanced collaborative support.

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

↑