Hexagonal Architecture — 2/2 — more in-depth with kotlin

Business code isolation within the inner layer

In the previous part, we walked thru the concept of the hexagonal architecture (purpose, principles, modules, layers, ports and Adapters). If you have not read the first part yet, or you need some remind, please read it before going through this one. We will now see how to do to properly isolate the business code from the rest. One important thing to remember is that the business code is isolated within the inner layer.