Files
java-design-patterns/hexagonal
Anthony Bosch 239592e5f5 fix: Issue 2368/fix broken tests (#2511)
* fixing typo

* added embedded mongo db to fix MongoBankTest

* cleaning up tests

* added embedded mongo db to fix MongoBankTest

* cleaning up tests
2023-07-02 11:50:21 +03:00
..
2019-12-07 18:03:49 +02:00

title, category, language, tag
title category language tag
Hexagonal Architecture Architectural en
Decoupling

Also known as

  • Ports and Adapters
  • Clean Architecture
  • Onion Architecture

Intent

Allow an application to equally be driven by users, programs, automated test or batch scripts, and to be developed and tested in isolation from its eventual run-time devices and databases.

Class diagram

Hexagonal Architecture class diagram

Applicability

Use Hexagonal Architecture pattern when

  • When the application needs to be independent of any frameworks
  • When it is important that the application highly maintainable and fully testable

Tutorials

Real world examples

  • Apache Isis builds generic UI and REST API directly from the underlying domain objects

Credits