Re-architecting OO Software into Microservices

A Quality-Centred Approach
  • Anfel SelmadjiEmail author
  • Abdelhak-Djamel Seriai
  • Hinde Lilia Bouziane
  • Christophe Dony
  • Rahina Oumarou Mahamane
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11116)


Due to its tremendous advantages, microservice architectural style has become an essential element for the development of applications deployed on the cloud and for those adopting the DevOps practices. Migrating existing applications to microservices allow them to benefit from these advantages. Thus, in this paper, we propose an approach to automatically identify microservices from OO source code. The approach is based on a quality function that measures both the structural and behavioral validity of microservices and their data autonomy. Unlike existing works, ours is based on a well-defined function measuring the quality of microservices and use the source code as the main source of information.


Object-Oriented Microservices Migration Identification 


  1. 1.
    Adjoyan, S., Seriai, A.D., Shatnawi, A.: Service identification based on quality metrics object-oriented legacy system migration towards SOA. In: SEKE (2014)Google Scholar
  2. 2.
    Alshara, Z., Seriai, A.D., Tibermacine, C., Bouziane, H.L., Dony, C., Shatnawi, A.: Migrating large object-oriented applications into component-based ones: instantiation and inheritance transformation. ACM SIGPLAN Not. 51, 55–64. ACM (2015)CrossRefGoogle Scholar
  3. 3.
    Balalaie, A., Heydarnoori, A., Jamshidi, P.: Migrating to cloud-native architectures using microservices: an experience report. In: Celesti, A., Leitner, P. (eds.) ESOCC Workshops 2015. CCIS, vol. 567, pp. 201–215. Springer, Cham (2016). Scholar
  4. 4.
    Baresi, L., Garriga, M., De Renzis, A.: Microservices identification through interface analysis. In: De Paoli, F., Schulte, S., Broch Johnsen, E. (eds.) ESOCC 2017. LNCS, vol. 10465, pp. 19–33. Springer, Cham (2017). Scholar
  5. 5.
    Bass, L., Weber, I., Zhu, L.: DevOps: A Software Architect’s Perspective. Addison-Wesley Professional, Reading (2015)Google Scholar
  6. 6.
    Bastide, G., Seriai, A., Oussalah, M.: Adapting software components by structure fragmentation. In: Proceedings of the 2006 ACM Symposium on Applied Computing, pp. 1751–1758. ACM (2006)Google Scholar
  7. 7.
    Bieman, J.M., Kang, B.K.: Cohesion and reuse in an object-oriented system. ACM SIGSOFT Softw. Eng. Notes 20, 259–262 (1995)CrossRefGoogle Scholar
  8. 8.
    Gysel, M., Kölbener, L., Giersche, W., Zimmermann, O.: Service cutter: a systematic approach to service decomposition. In: Aiello, M., Johnsen, E.B., Dustdar, S., Georgievski, I. (eds.) ESOCC 2016. LNCS, vol. 9846, pp. 185–200. Springer, Cham (2016). Scholar
  9. 9.
    Levcovitz, A., Terra, R., Valente, M.T.: Towards a technique for extracting microservices from monolithic enterprise systems. arXiv preprint (2016)Google Scholar
  10. 10.
    Lewis, J., Fowler, M.: Microservices: a definition of this new architectural term. 25 (2014)Google Scholar
  11. 11.
    Mazlami, G., Cito, J., Leitner, P.: Extraction of microservices from monolithic software architectures. In: 2017 IEEE International Conference on Web Services (ICWS), pp. 524–531. IEEE (2017)Google Scholar
  12. 12.
    Newman, S.: Building Microservices: Designing Fine-grained Systems. O’Reilly Media, Inc., Sebastopol (2015)Google Scholar
  13. 13.
    Sharma, S.: Mastering Microservices with Java. Migrating to Cloud-Native Architectures Using Microservices: An Experience ReportPackt Publishing Ltd. (2016)Google Scholar
  14. 14.
    Sharma, S., Gonzalez, D.: Microservices: Building scalable software (2017)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2018

Authors and Affiliations

  • Anfel Selmadji
    • 1
    Email author
  • Abdelhak-Djamel Seriai
    • 1
  • Hinde Lilia Bouziane
    • 1
  • Christophe Dony
    • 1
  • Rahina Oumarou Mahamane
    • 1
  1. 1.LIRMM, CNRS and University of MontpellierMontpellierFrance

Personalised recommendations