Skip to content

Files

Latest commit

a1ff55b · Feb 11, 2017

History

History
This branch is 3 commits ahead of, 2697 commits behind iluwatar/java-design-patterns:master.

hexagonal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 11, 2017
Jan 23, 2017
Nov 13, 2016
Dec 31, 2016
layout title folder permalink pumlid categories tags
pattern
Hexagonal Architecture
hexagonal
/patterns/hexagonal/
HSTB4W8X30N0g-W1XkozpPD90LO8L3wEnzUTk-xxq2fvSfhSUiJs1v7XAcr4psSwMrqQh57gcZGaBmICNdZZEDb7qsCZWasT9lm7wln1MmeXZlfVIPjbvvGl
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

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

Tutorials

Presentations

Real world examples

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

Credits