Chapter 6: Implementing the User Interface – Task-Based

To accomplish a difficult task, one must first make it easy.

– Marty Rubin

The essence of Domain-Driven Design (DDD) is about capturing the business process and user intent. In the previous chapter, we designed a set of APIs without paying much attention to how those APIs would get consumed by their eventual users. In this chapter, we will design the GUI for the LC application using the JavaFX framework. As part of that, we will examine how this approach of designing APIs in isolation can cause an impedance mismatch between the producers and the consumers. We will examine the consequences of this impedance mismatch and how task-based UIs can help cope with this mismatch.

We will cover the ...

Get Domain-Driven Design with Java - A Practitioner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.