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 in the system domain logic.
In this chapter, we’ll continue our journey in exploring the exciting features of Quarkus. One feature that fits quite well with implementing input adapters is the RESTEasy Reactive JAX-RS implementation...