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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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)
Balalaie, A., Heydarnoori, A., Jamshidi, P.: Microservices architecture enables DevOps: migration to a cloud-native architecture. IEEE Softw. 33(3), 42–52 (2016)
Evans, E.: Domain-Driven Design. Addison-Wesley, Boston (2004)
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
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)
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
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)
Mens, T., Van Gorp, P.: A taxonomy of model transformation. Electron. Notes Theor. Comput. Sci. 152, 125–142 (2006)
Newman, S.: Building Microservices. O’Reilly Media, Sebastopol (2015)
Object Management Group: Service oriented architecture modeling language (SoaML) specification version 1.0.1 (formal/2012-05-10) (2012)
Object Management Group: Object constraint language (OCL) version 2.4 (formal/2014-02-03) (2014)
Object Management Group: OMG unified modeling language (OMG UML) version 2.5 (formal/2015-03-01) (2015)
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)
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)
Da Silva, A.R.: Model-driven engineering: a survey supported by the unified conceptual model. Comput. Lang. Syst. Struct. 43, 139–155 (2015)
Seidewitz, E.: What models mean. IEEE Softw. 20(5), 26–32 (2003)
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)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
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)