SeCoGen - A Service Code Generator

Author Ricardo Queirós

Thumbnail PDF


  • Filesize: 391 kB
  • 8 pages

Document Identifiers

Author Details

Ricardo Queirós
  • ESMAD - Polytechnic of Porto, Portugal
  • CRACS - INESC TEC, Porto, Portugal

Cite AsGet BibTex

Ricardo Queirós. SeCoGen - A Service Code Generator. In 8th Symposium on Languages, Applications and Technologies (SLATE 2019). Open Access Series in Informatics (OASIcs), Volume 74, pp. 23:1-23:8, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2019)


The architectural pattern of micro-services is being increasingly adopted by developers, facilitating the maintenance and scalability of the systems' code. The adoption and consumption of these micro-services are often seen on the front-end code of the Web applications. Nevertheless, this adoption obliges web designers/developers to know where to look for those web services, to read their documentation and to write the request/response code as well to control the corresponding UI rendering. This whole process is time-consuming and error-prone. This article introduces SeCoGen as an interactive code generator for Web service parsing and consumption. The generator benefits from an HTTP request template, a query normalizer and dynamic UI templates. In order, to validate the generator feasibility and usefulness, a REST API to search for countries is used.

Subject Classification

ACM Subject Classification
  • Software and its engineering → Source code generation
  • Code Generation
  • Web services
  • micro-services


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. P. D. Francesco. Architecting Microservices. In 2017 IEEE International Conference on Software Architecture Workshops (ICSAW), pages 224-229, April 2017. URL:
  2. Robert Miller and Max Goldman. Software Construction. , 2016. Spring 2016. Massachusetts Institute of Technology: MIT OpenCourseWare.
  3. Ricardo Queirós. PROud - A Gamification Framework Based on Programming Exercises Usage Data. Information, 10(2), 2019. URL:
  4. Gabriele Tomassetti. A Guide to Code Generation., 2018. Accessed: 2018-11-01.
  5. Seung-Su Yang, Hyung-Joon Kim, Nam-Uk Lee, and Seok-Cheon Park. Design of Automatic Source Code Generation Based on User Pattern Definition. In James J. Park, Vincenzo Loia, Gangman Yi, and Yunsick Sung, editors, Advances in Computer Science and Ubiquitous Computing, pages 1434-1439, Singapore, 2018. Springer Singapore. Google Scholar
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail