12

Using RESTEasy Reactive to Implement Input Adapters

An input adapter is like a front door that exposes all the features provided by a hexagonal system. Whenever a user or other application wants to communicate with a hexagonal system, they reach one of the available input adapters. With such adapters, we can provide different ways to access the same functionality within the hexagonal system. If a client does not support HTTP communication, we can implement an adapter using a different protocol. The significant advantage here is that removing or adding new adapters does not influence the domain logic.

Due to the hexagonal architecture’s decoupling and well-encapsulating nature, we can change technologies without any or major changes occurring ...

Get Designing Hexagonal Architecture with Java - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.