2016-06-30 18:15:26 +03:00
..
2016-04-10 21:22:40 +03:00
2016-05-21 21:48:25 +03:00
2016-05-22 09:33:50 +03:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Hexagonal Architecture hexagonal /patterns/hexagonal/ Architectural
Java
Difficulty-Expert

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.

Hexagonal Architecture class diagram

Applicability

Use Hexagonal Architecture pattern when

  • it is important that the application is fully testable
  • you use Domain Driven Design methodology and/or Microservices architectural style

Real world examples

Credits