Use Case Layer

Learn more about the use case layer, through the implementation of an example.

Continuing with the restaurant example used above, let us implement the use case layer on top of the domain layer.

Example definition

Let’s continue with the example defined in the Domain Layer lesson and implement the use case layer. This layer will be in charge of the orchestration of domain objects to fulfill business needs.

Model definition

The following diagram depicts the use case layer, which defines two artifacts. Additionally, this layer makes use of the domain layer.

Get hands-on with 1200+ tech skills courses.