Abstract:
In the ever-evolving field of software engineering, the concepts of software reuse and Microservices Architecture (MSA)
have emerged as fundamental pillars reshaping development methodologies and project outcomes. Recognizing the transformative
potential of these paradigms, our research endeavors to delve deeper into their intersection, particularly focusing on enriching reusability
practices within the context of MSA. To achieve this objective, we have identified and meticulously addressed five challenges that
often impede optimal reusability in MSA environments: Code Duplication, Technology Heterogeneity, Service Boundaries, Versioning,
and Decision-Making. Leveraging insights gleaned from practical experiences, we propose the Reusable Microservices Framework
(RMF), a robust and comprehensive development process meticulously crafted to systematically tackle these challenges. Developed in
close collaboration with MSA practitioners deeply invested in advancing reusability practices, the RMF embodies a synthesis of expert
recommendations and industry best practices. Our validation process encompasses a multifaceted approach, ranging from a simulated
environment to real-world implementation, including the adoption of the RMF within a software company. Through rigorous validation
exercises, our findings unequivocally demonstrate the transformative potential of the RMF, showcasing significant enhancements in
reusability metrics that exceed expectations by over threefold. By offering actionable insights and a practical framework honed through
empirical validation, our study presents a compelling roadmap for harnessing the power of reusability to unlock the full potential of MSA.