
Ports & Adapters: Beyond the Theory — Organizing the Application with Package-by-Component
This is the second article in the "Ports & Adapters: Beyond the Theory" series. Article 1 demonstrated the ability to hot-swap adapters at runtime by leveraging the advantages of the P&A pattern. This article tackles what Alistair Cockburn deliberately left open: how to organize the inside of the application. Every line of code in the companion repository was written by hand. No AI-generated code. GitHub Repository: GitHub — branch article/2-package-by-component Series — Ports & Adapters: Beyond the Theory Runtime Adapter Hot-Swapping Organizing the Application with Package-by-Component ← you are here Isolating with JPMS (coming soon) Testing with Result (coming soon) Adapter Switching Strategies (coming soon) Spring Modulith + P&A (coming soon) "I need to be assured that certain interests are package-private " — Arthur Case, talking about the application. The application is not protected Let's be clear, Alistair Cockburn's Ports & Adapters pattern can be summed up with the following p
Continue reading on Dev.to
Opens in a new tab



