Anemic Domain Model vs Rich Domain Model to Improve the Two-Hemisphere Model-Driven Approach

  • 1 Riga Technical University, , Riga, Latvia


Evolution of software development process and increasing complexity of software systems calls for developers to pay great attention to the evolution of CASE tools for software development. This, in turn, causes explosion for appearance of a new wave (or new generation) of such CASE tools. The authors of the paper have been working on the development of the so-called two-hemisphere model-driven approach and its supporting BrainTool for the past 10 years. This paper is a step forward in the research on the ability to use the two-hemisphere model driven approach for system modelling at the problem domain level and to generate UML diagrams and software code from the two-hemisphere model. The paper discusses the usage of anemic domain model instead of rich domain model and offers the main principle of transformation of the two-hemisphere model into the first one.

If the inline PDF is not rendering correctly, you can download the PDF file here.

  • [1] L. Leimane, O. Nikiforova, “Mapping of Activities for Object-Oriented System Analysis”, Applied Computer Systems, 2018, vol. 23, no. 1, pp. 5–11.

  • [2] O. Nikiforova, “System Modeling in UML with Two-Hemisphere Model Driven Approach”, Applied computer systems, 2010, vol. 41, no. 1, pp. 37–44.

  • [3] OMG, UML Unified Modeling Language Specification. Available at

  • [4] K. Cemus, T. Cerny, L. Matl, and M. J. Donahoo, “Aspect, Rich and Anemic Domain Models in Enterprise Information Systems,” 42nd International Conference on Current Trends in Theory and Practice of Computer Science, 2016.

  • [5] K. Gusarovs, O. Ņikiforova, “Workflow Generation from the Two-Hemisphere Model”, Applied Computer Systems, 2017, vol. 22, pp. 36–46.

  • [6] L. Marques, “A defense of so-called anemic domain models”. Slides of D-Lang-Silicon-Valley Meetup @ January 28, 2016. Available at

  • [7] E. Evans, Domain-driven design: tackling complexity in the heart of software. Addison-Wesley Professional, 2004.

  • [8] M. Fowler, “Anaemic Domain Model.” Available at

  • [9] N. El Marzouki, Y. Lakhrissi, O. Nikiforova, M. El Mohajir, “The application of an automatic model composition prototype on the-Two hemisphere model driven approach,” 2017 International Conference on Wireless Technologies, Embedded and Intelligent Systems, WITS, 2017.

  • [10] G. E. Krasner and S. T. Pope, “A cookbook for using the model-view controller user interface paradigm in Smalltalk-80”, Journal of Object-Oriented Programming, 1988, vol. 1, no. 3, pp. 26–49.

  • [11] AngularJS, Developer Guide: Conceptual Overview. Available at

  • [12] O. Nikiforova, L. Kozacenko, D. Ungurs, D. Ahilcenoka, A. Bajovs, N. Skindere, K. Gusarovs, M. Jukss, “BrainTool v2.0 for Software Modeling in UML”, Applied Computer Systems, 2014, vol. 16. no. 1, pp. 33–42.

  • [13] O. Nikiforova, K. Gusarovs, “Comparison of BrainTool to Other UML Modeling and Model Transformation Tools,” AIP Conference Proceedings, vol. 1863, 2017.

  • [14] O. Nikiforova, K. Gusarovs, A. Ressin, “An Approach to Generation of the UML Sequence Diagram from the Two-Hemisphere Model”, Proceedings of the Eleventh International Conference on Software Engineering Advances, 2016. K. Gusarovs, O. Nikiforova, A. Giurca, “Simplified Lisp Code Generation from the Two-hemisphere Model,” Procedia Computer Science, 2016, vol. 104, pp. 329–337.


Journal + Issues