SAVE THE DATE: November 24–27, SAG 2025 in Berlin

Conference program

iSAQB Software Architecture Gathering 2024

Register now

  • Session (45min)
  • Intermediate
  • 12 Nov 2024
  • 11:30-12:15
  • Room Grenander 3

Model Pollution Is Bad—What Can I Do Against It?

by Henning Schwentner

Technical code and business code should be kept separate. That seems like a simple architecture rule. But it is violated in virtually every real project. Even current frameworks like Spring, Hibernate and co. easily contaminate our domain models.

In this talk, we look at ways out of this misery and when and how much pollution might nevertheless be acceptable. This will be helped by

– an understanding of the Domain Logic Patterns: Transaction Script, Table Module, Domain Model,
– the architecture styles Onion, Clean and Hexagonal Architecture and
– tactical design from DDD.