TY - GEN
T1 - A model-driven approach for generating restful web services in single-page applications
AU - Hernandez-Mendez, Adrian
AU - Scholz, Niklas
AU - Matthes, Florian
N1 - Publisher Copyright:
Copyright © 2018 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved.
PY - 2018
Y1 - 2018
N2 - 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.
AB - 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.
KW - Model-driven Software Engineering
KW - RESTful APIs
KW - Resource Oriented Architecture
KW - Single-Page Application
KW - Web Services
UR - http://www.scopus.com/inward/record.url?scp=85052023940&partnerID=8YFLogxK
U2 - 10.5220/0006608204800487
DO - 10.5220/0006608204800487
M3 - Conference contribution
AN - SCOPUS:85052023940
T3 - MODELSWARD 2018 - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development
SP - 480
EP - 487
BT - MODELSWARD 2018 - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development
A2 - Hammoudi, Slimane
A2 - Pires, Luis Ferreira
A2 - Selic, Bran
PB - SciTePress
T2 - 6th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2018
Y2 - 22 January 2018 through 24 January 2018
ER -