Creating a Graphical User Interface
Do you remember this diagram from Chapter 8? It uses the hexagonal architecture to show all the interfaces around the business domain of books:
Figure 20.1 – Hexagonal architecture schema for the books domain
In the previous chapter, when working on the data referential services, we covered, of course, the API interface (which is so central to this service-base architecture that it should almost sit in the center of the hexagon), but also many of the other interfaces:
- Persistence has been plugged into a NoSQL database, with a coupling that some would consider too high but which is really not a blocking problem, as long as the referential service remains focused on only one business entity and is quick to re-implement if ever necessary.
- Authentication and identification have been delegated to the IAM implemented in Apache Keycloak, and the plugging of this interface is done through OpenID Connect/JSON...