Application to our demonstration system
Now that the notion of service should hold any secrets for you, it is time to see some practical applications of what we have covered on our demonstration system to reinforce the takeaways from this chapter. Since we aim at something modern, the choice is quite obvious that the different modules of the example system will interact with each other through REST APIs. As much as possible, we will try to keep the middleware as transparent as we can. We may need some connectors for mediation in some cases, but other than that, applications will talk to centralized APIs that will then be implemented separately (this will be done using the concept of service in the container orchestrator that will be put in place).
Interfaces needing analysis
First, we will start with a hexagonal architecture diagram to list all the business domain models and their dependencies. The C4 approach used in the previous chapter showed that we will need at least three...