Model-Driven Code Generation for Microservices: Service Models

Saverio Giallorenzo, Fabrizio Montesi, Marco Peressotti, Florian Rademacher [2022].
In proceedings of Microservices 2022, pp. 6:1-6:17.

Abstract
We formally define and implement a translation of domain and service models expressed in the LEMMA modelling ecosystem for microservice architectures to source code in the Jolie microservice programming language. Specifically, our work extends previous efforts on the generation of Jolie code to the inclusion of the LEMMA service modelling layer. We also contribute an implementation of our translation, given as an extension of the LEMMA2Jolie tool, which enables the practical application of our encoding. As a result, LEMMA2Jolie now supports a software development process whereby microservice architectures can first be designed by microservice developers in collaboration with domain experts in LEMMA, and then be automatically translated into Jolie APIs. Our tool can thus be used to enhance productivity and improve design adherence.
Links
doi.org
Additional notes
None
Cite (BibTeX)
Click to expand
@inproceedings{DBLP:conf/microservices/GiallorenzoMPR22,
  author       = {Saverio Giallorenzo and
                  Fabrizio Montesi and
                  Marco Peressotti and
                  Florian Rademacher},
  editor       = {Gokila Dorai and
                  Maurizio Gabbrielli and
                  Giulio Manzonetto and
                  Aomar Osmani and
                  Marco Prandini and
                  Gianluigi Zavattaro and
                  Olaf Zimmermann},
  title        = {Model-Driven Code Generation for Microservices: Service Models},
  booktitle    = {Joint Post-proceedings of the Third and Fourth International Conference
                  on Microservices, Microservices 2020/2022, May 10-12, 2022, Paris,
                  France},
  series       = {OASIcs},
  volume       = {111},
  pages        = {6:1--6:17},
  publisher    = {Schloss Dagstuhl - Leibniz-Zentrum f{\"{u}}r Informatik},
  year         = {2022},
  url          = {https://doi.org/10.4230/OASIcs.Microservices.2020-2022.6},
  doi          = {10.4230/OASICS.MICROSERVICES.2020-2022.6},
  timestamp    = {Mon, 05 Feb 2024 20:35:37 +0100},
  biburl       = {https://dblp.org/rec/conf/microservices/GiallorenzoMPR22.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}

A PDF is available (possibly a preprint):

Download PDF