A simple example for a clean hexagonal architecture. It contains a use case model and command handlers that control the flow of the application.
The main class is poem.simple.Main.
This example is inspired by a talk by A. Cockburn and T. Pierrain on hexagonal architecture.
A blog article describes the details.