Visitar URL original
java-design-patterns/hexagonal at master · colinkuo/java-design-patterns · GitHub
Skip to content

Latest commit

 

History

History
 
 

hexagonal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

layout pattern
title Hexagonal Architecture
folder hexagonal
permalink /patterns/hexagonal/
pumlformat svg
categories Architectural
language en
tags
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