Chapter 13: Persisting Data with Output Adapters and Hibernate Reactive

In the previous chapter, we learned about some of the advantages that can be brought to a system by using Quarkus reactive capabilities. Out first step on the reactive road was to implement Reactive input adapters using RESTEasy Reactive. Although the input adapters' endpoints are being served reactively, we still have the output adapters working in a synchronous and blocking fashion.

To turn the hexagonal system into a more Reactive one, in this chapter, we'll first learn how to configure Object Relational Mapping (ORM) on system entities by using Hibernate Reactive and Panache. Once the system entities are properly configured, we'll learn how to use these entities to connect ...

Get Designing Hexagonal Architecture with Java 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.