Skip to content

ValerioEmanuele/HexArch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexagonal Architecture - Simple Java 8 Example

In the example is implemented an application that reads a collection of users from a repository and sends a greeting message to those who turn the years on the input date.

Scheme of Primary Actor and Secondary Actors

Scheme of HexArch

Port and Adapter Scheme

Scheme of HexArch Port and Adapter Scheme

Run the Hexagon

Run with maven

The application can run by launching the command mvn install

Run with main()

As an alternative to maven, the application can be run as a standard Java application through the class blog.valerioemanuele.main.Main

Requirements

  • Java 8 or higher
  • JUnit 5 or higher
  • Maven 3