Reader small image

You're reading from  Designing Hexagonal Architecture with Java

Product typeBook
Published inJan 2022
PublisherPackt
ISBN-139781801816489
Edition1st Edition
Right arrow
Author (1)
Davi Vieira
Davi Vieira
author image
Davi Vieira

Davi Vieira is a software craftsman with a vested interest in the challenges faced by large enterprises in software design, development, and architecture. He has more than 10 years of experience constructing and maintaining complex, long-lasting, and mission-critical systems using object-oriented languages. He values the good lessons and the software development tradition left by others who came before him. Inspired by this software tradition, he develops and evolves his ideas.
Read more about Davi Vieira

Right arrow

Using output ports to deal with external data

Output ports, also known as secondary ports, represent the application's intent to deal with external data. It's through output ports that we prepare the system to communicate with the outside world. By allowing this communication, we can associate output ports with driven actors and operations. Remember, driven actors are external systems, while driven operations are used to communicate with such systems.

I say that we're preparing the hexagonal application to communicate with the outside world because, at the Application hexagon level, we don't know how that communication will occur yet. This approach is based on Uncle Bob's wise advice to postpone, as much as possible, any decisions concerned about which technologies will be used to fulfill the application's needs. By doing that, we're putting more emphasis on the problem domain than on technological details. I'm not saying that the persistence...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Designing Hexagonal Architecture with Java
Published in: Jan 2022Publisher: PacktISBN-13: 9781801816489

Author (1)

author image
Davi Vieira

Davi Vieira is a software craftsman with a vested interest in the challenges faced by large enterprises in software design, development, and architecture. He has more than 10 years of experience constructing and maintaining complex, long-lasting, and mission-critical systems using object-oriented languages. He values the good lessons and the software development tradition left by others who came before him. Inspired by this software tradition, he develops and evolves his ideas.
Read more about Davi Vieira