Research Article Open Access

GenMicro: A Tool for Generating Microservice Architectures with In-Depth Microservice Design

Willy Kengne Kungne1, Georges-Edouard Kouamou1 and Paul Ayang1
  • 1 Department of Computer Engineering, National Advanced School of Engineering, University of Yaoundé I, Cameroon

Abstract

MicroService Architecture (MSA) has become an increasingly popular architectural style for distributed and service-based systems. Despite the various facilities offered by existing frameworks, setting up a microservice architecture remains challenging for developers. Also, configuring all the microservices is time-consuming. Several tools have been proposed for generating microservice architectures. For the most part, these tools focus on the basic configuration aspects, leaving the business aspects of each microservice to the developers. Thus, a question arises: How can business elements be integrated into the definition of formalism in microservices architecture alongside the configuration aspects? This study proposes a tool named GenMicro, which is based on a detailed design. It takes into account various elements such as business components, entities, dependencies, or configurations encapsulated within nodes representing microservices, utilizing a model-driven engineering approach to transform them into code models for code generation. The tool has three components: A graphical editor for architectural representation and internal description of each microservice, an intermediate transformation engine to transform the graphical elements into a code model, and a module to refine the code according to the microservice architecture. The ready-to-use Java code generated by GenMicro is compliant with the Spring Cloud Netflix Framework and is deployment-ready.

Journal of Computer Science
Volume 21 No. 3, 2025, 729-740

DOI: https://doi.org/10.3844/jcssp.2025.729.740

Submitted On: 30 August 2024 Published On: 25 February 2025

How to Cite: Kungne, W. K., Kouamou, G. & Ayang, P. (2025). GenMicro: A Tool for Generating Microservice Architectures with In-Depth Microservice Design. Journal of Computer Science, 21(3), 729-740. https://doi.org/10.3844/jcssp.2025.729.740

  • 896 Views
  • 188 Downloads
  • 0 Citations

Download

Keywords

  • Microservice Architecture
  • Model-Driven Engineering
  • Business Domain
  • Domain-Specific Languages
  • Java Code