Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
 Designing Hexagonal Architecture with Java

You're reading from   Designing Hexagonal Architecture with Java Build maintainable and long-lasting applications with Java and Quarkus

Arrow left icon
Product type Paperback
Published in Sep 2023
Publisher Packt
ISBN-13 9781837635115
Length 438 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Davi Vieira Davi Vieira
Author Profile Icon Davi Vieira
Davi Vieira
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Part 1: Architecture Fundamentals
2. Chapter 1: Why Hexagonal Architecture? FREE CHAPTER 3. Chapter 2: Wrapping Business Rules inside Domain Hexagon 4. Chapter 3: Handling Behavior with Ports and Use Cases 5. Chapter 4: Creating Adapters to Interact with the Outside World 6. Chapter 5: Exploring the Nature of Driving and Driven Operations 7. Part 2: Using Hexagons to Create a Solid Foundation
8. Chapter 6: Building the Domain Hexagon 9. Chapter 7: Building the Application Hexagon 10. Chapter 8: Building the Framework Hexagon 11. Chapter 9: Applying Dependency Inversion with Java Modules 12. Part 3: Becoming Cloud-Native
13. Chapter 10: Adding Quarkus to a Modularized Hexagonal Application 14. Chapter 11: Leveraging CDI Beans to Manage Ports and Use Cases 15. Chapter 12: Using RESTEasy Reactive to Implement Input Adapters 16. Chapter 13: Persisting Data with Output Adapters and Hibernate Reactive 17. Chapter 14: Setting Up Dockerfile and Kubernetes Objects for Cloud Deployment 18. Part 4: Hexagonal Architecture and Beyond
19. Chapter 15: Comparing Hexagonal Architecture with Layered Architecture 20. Chapter 16: Using SOLID Principles with Hexagonal Architecture 21. Chapter 17: Good Design Practices for Your Hexagonal Application 22. Index 23. Other Books You May Enjoy

Exploring the Nature of Driving and Driven Operations

We spent the previous chapters analyzing the elements comprising each hexagon in the hexagonal architecture. We learned about entities, value objects, and business rules, and how to arrange them in the Domain hexagon to create a meaningful domain model. After that, when dealing with the Application hexagon, we learned how to utilize use cases and ports to create fully fledged software features on top of the domain model. Finally, we learned how to create adapters to integrate the hexagonal application features with different technologies.

To better comprehend a hexagonal system, we also need to be aware of its surroundings. That’s why, in this chapter, we explore the nature of driving and driven operations, as they represent the external elements interacting with the hexagonal application. On the driving side, we’ll see how frontend applications act as primary actors, driving the behavior of a hexagonal system....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime