Towards a UML Profile for Domain-Driven Design of Microservice Architectures | SpringerLink
Skip to main content

Towards a UML Profile for Domain-Driven Design of Microservice Architectures

  • Conference paper
  • First Online:
Software Engineering and Formal Methods (SEFM 2017)

Abstract

Domain-driven Design (DDD) is a model-driven approach to software development that focuses on capturing the application domain, its concepts and relationships in the form of domain models for architecture design. Among others, DDD provides modeling means for decomposing a domain into Bounded Contexts and expressing the relationships between them. With the recent emergence of Microservice Architecture (MSA), DDD again gains broad attention because a Bounded Context naturally maps to a Microservice, which enables the application of DDD for MSA design.

However, DDD is not a formal modeling language. Instead, it leverages informal UML class diagrams to express domain models, which prevents model validation and transformation. In this paper we address this limitation by providing an initial UML profile for Domain-driven MSA Modeling. Together with a survey on the UML constructs used in DDD, the profile denotes a foundation for validating domain models and deriving Microservice code from them.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 8465
Price includes VAT (Japan)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 10582
Price includes VAT (Japan)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://www.eclipse.org/papyrus.

  2. 2.

    https://github.com/SeelabFhdo/ddmm-uml-profile.

References

  1. Alshuqayran, N., Ali, N., Evans, R.: A systematic mapping study in microservice architecture. In: Proceedings of the 9th International Conference on Service-Oriented Computing and Applications (SOCA), pp. 44–51. IEEE (2016)

    Google Scholar 

  2. Balalaie, A., Heydarnoori, A., Jamshidi, P.: Microservices architecture enables DevOps: migration to a cloud-native architecture. IEEE Softw. 33(3), 42–52 (2016)

    Article  Google Scholar 

  3. Evans, E.: Domain-Driven Design. Addison-Wesley, Boston (2004)

    Google Scholar 

  4. 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). https://doi.org/10.1007/978-3-319-44482-6_12

    Chapter  Google Scholar 

  5. Hassan, S., Ali, N., Bahsoon, R.: Microservice ambients: an architectural meta-modelling approach for microservice granularity. In: Proceedings of the International Conference on Software Architecture (ICSA), pp. 1–10. IEEE (2017)

    Google Scholar 

  6. Iglesias, C.A., Fernández-Villamor, J.I., del Pozo, D., Garulli, L., García, B.: Combining domain-driven design and mashups for service development. In: Iglesias, C.A., Fernández-Villamor, J.I., del Pozo, D., Garulli, L., García, B. (eds.) Service Engineering, pp. 171–200. Springer, Vienna (2011). https://doi.org/10.1007/978-3-7091-0415-6_7

    Chapter  Google Scholar 

  7. Le, D.M., Dang, D.H., Nguyen, V.H.: Domain-driven design using meta-attributes: a DSL-based approach. In: 8th International Conference on Knowledge and Systems Engineering (KSE), pp. 67–72. IEEE (2016)

    Google Scholar 

  8. Mens, T., Van Gorp, P.: A taxonomy of model transformation. Electron. Notes Theor. Comput. Sci. 152, 125–142 (2006)

    Article  Google Scholar 

  9. Newman, S.: Building Microservices. O’Reilly Media, Sebastopol (2015)

    Google Scholar 

  10. Object Management Group: Service oriented architecture modeling language (SoaML) specification version 1.0.1 (formal/2012-05-10) (2012)

    Google Scholar 

  11. Object Management Group: Object constraint language (OCL) version 2.4 (formal/2014-02-03) (2014)

    Google Scholar 

  12. Object Management Group: OMG unified modeling language (OMG UML) version 2.5 (formal/2015-03-01) (2015)

    Google Scholar 

  13. Pahl, C., Jamshidi, P.: Microservices: a systematic mapping study. In: Proceedings of the 6th International Conference on Cloud Computing and Services Science (CLOSER), pp. 137–146 (2016)

    Google Scholar 

  14. Rademacher, F., Sachweh, S., Zündorf, A.: Differences between model-driven development of service-oriented and microservice architecture. In: International Conference on Software Architecture Workshops (ICSAW), pp. 38–45 (2017)

    Google Scholar 

  15. Da Silva, A.R.: Model-driven engineering: a survey supported by the unified conceptual model. Comput. Lang. Syst. Struct. 43, 139–155 (2015)

    Google Scholar 

  16. Seidewitz, E.: What models mean. IEEE Softw. 20(5), 26–32 (2003)

    Article  Google Scholar 

  17. Selic, B.: A systematic approach to domain-specific language design using UML. In: Proceedings of the 10th International Symposium on Object and Component-Oriented Real-Time Distributed Computing (ISORC), pp. 2–9. IEEE (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Florian Rademacher .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rademacher, F., Sachweh, S., Zündorf, A. (2018). Towards a UML Profile for Domain-Driven Design of Microservice Architectures. In: Cerone, A., Roveri, M. (eds) Software Engineering and Formal Methods. SEFM 2017. Lecture Notes in Computer Science(), vol 10729. Springer, Cham. https://doi.org/10.1007/978-3-319-74781-1_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-74781-1_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-74780-4

  • Online ISBN: 978-3-319-74781-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics