A model-driven approach for generating restful web services in single-page applications

Adrian Hernandez-Mendez, Niklas Scholz, Florian Matthes

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

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.

Original languageEnglish
Title of host publicationMODELSWARD 2018 - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development
EditorsSlimane Hammoudi, Luis Ferreira Pires, Bran Selic
PublisherSciTePress
Pages480-487
Number of pages8
ISBN (Electronic)9789897582837
DOIs
StatePublished - 2018
Event6th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2018 - Funchal, Madeira, Portugal
Duration: 22 Jan 201824 Jan 2018

Publication series

NameMODELSWARD 2018 - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development
Volume2018-January

Conference

Conference6th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2018
Country/TerritoryPortugal
CityFunchal, Madeira
Period22/01/1824/01/18

Keywords

  • Model-driven Software Engineering
  • RESTful APIs
  • Resource Oriented Architecture
  • Single-Page Application
  • Web Services

Fingerprint

Dive into the research topics of 'A model-driven approach for generating restful web services in single-page applications'. Together they form a unique fingerprint.

Cite this