A Model-driven Approach for Generating RESTful Web Services in Single-Page Applications

Adrian Hernandez-Mendez, Niklas Scholz, Florian Matthes

2018

Abstract

Modern Single-Page Applications (SPA) use data from multiple Web services to support essential process in the enterprises. By using data from several Web services, the SPA changed their architecture from a one-to-one communication between client and server to an application using information from multiple servers using RESTfuls APIs in a microservice architecture. In this paper, we present a model-driven approach for the consumption of RESTful Web services in SPA. We introduce a Query Service meta-model and provide a tool to semi-automatically generate an SPA based on our reference architecture. The proposed approach was evaluated by using the tool for the development of an example application in the context of a research project with large German corporation in the domain of software architecture. The main limitation of the tool is the lack of support for the round-trip engineering functionality. However, the created Web service handles the access to APIs and reduces the complexity of the SPA due to the shift of responsibility away from the client.

Download


Paper Citation


in Harvard Style

Hernandez-Mendez A., Scholz N. and Matthes F. (2018). A Model-driven Approach for Generating RESTful Web Services in Single-Page Applications.In Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-283-7, pages 480-487. DOI: 10.5220/0006608204800487


in Bibtex Style

@conference{modelsward18,
author={Adrian Hernandez-Mendez and Niklas Scholz and Florian Matthes},
title={A Model-driven Approach for Generating RESTful Web Services in Single-Page Applications},
booktitle={Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2018},
pages={480-487},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006608204800487},
isbn={978-989-758-283-7},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - A Model-driven Approach for Generating RESTful Web Services in Single-Page Applications
SN - 978-989-758-283-7
AU - Hernandez-Mendez A.
AU - Scholz N.
AU - Matthes F.
PY - 2018
SP - 480
EP - 487
DO - 10.5220/0006608204800487