Book

Designing Hexagonal Architecture with Java

Software architects and Java developers will be able to put their knowledge to work with this practical guide to building hexagonal applications using Java and Quarkus. With an emphasis on solving complexities from muddled code structures lacking separation of concerns, this book provides a comprehensive way to create maintainable systems.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h20m

Language

English

About Book

Who Is This Book For?

This book is for software architects and Java developers who want to improve code maintainability and enhance productivity with an architecture that allows changes in technology without compromising business logic, which is precisely what hexagonal architecture does. Intermediate knowledge of the Java programming language and familiarity with Jakarta EE will help you to get the most out of this book.

Book content

chapters 15h20m total length

Why Hexagonal Architecture?

Wrapping Business Rules inside Domain Hexagon

Handling Behavior with Ports and Use Cases

Creating Adapters to Interact with the Outside World

Exploring the Nature of Driving and Driven Operations

Building the Domain Hexagon

Building the Application Hexagon

Building the Framework Hexagon

Applying Dependency Inversion with Java Modules

Adding Quarkus to a Modularized Hexagonal Application

Leveraging CDI Beans to Manage Ports and Use Cases

Using RESTEasy Reactive to Implement Input Adapters

Persisting Data with Output Adapters and Hibernate Reactive

Setting Up Dockerfile and Kubernetes Objects for Cloud Deployment

Good Design Practices for Your Hexagonal Application

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required