Summary
Hibernate Reactive and Panache
make our lives much easier when we need to handle databases reactively using Quarkus. We learned that Hibernate Reactive is built on top of the traditional Hibernate implementation but with the addition of reactive features.
While looking into Panache
, we learned that it can help us implement the Active Record and Repository patterns to implement database operations. For the hands-on part, we implemented database entities, repositories, and reactive output adapters, which we used together to interact with the MySQL database. Finally, we configured the hexagonal system tests to use the MySQL Docker container that Quarkus provides.
In the next chapter, we’ll learn about some techniques for packaging the hexagonal system in a Docker image. We’ll also learn how to run the hexagonal system in a Kubernetes cluster. This knowledge will enable us to make our hexagonal application ready to be deployed in cloud-based environments.
...