2.1 · Lesson

The Application Domain Model

When you are building an application, you will typically have some set of data that you want to interact with. You need to organize that data somehow, and you do that by creating a domain model. The domain model is a representation of the data that is relevant to your application.

This first structure is the human-understood model of the data. You will also need to map this model to the application. In Java, you can model data as classes to create the application domain model, often referred to as entities. Sometimes the original domain model matches the application domain model, but sometimes it has to be adjusted.