Designing Hexagonal Architecture with Java
eBook - ePub

Designing Hexagonal Architecture with Java

Build maintainable and long-lasting applications with Java and Quarkus

  1. 438 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Designing Hexagonal Architecture with Java

Build maintainable and long-lasting applications with Java and Quarkus

About this book

Learn to build robust, resilient, and highly maintainable cloud-native Java applications with hexagonal architecture and Quarkus

Key Features

  • Use hexagonal architecture to increase maintainability and reduce technical debt
  • Learn how to build systems that are easy to change and understand
  • Leverage Quarkus to create modern cloud-native applications
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

We live in a fast-evolving world with new technologies emerging every day, where enterprises are constantly changing in an unending quest to be more profitable. So, the question arises — how to develop software capable of handling a high level of unpredictability. With this question in mind, this book explores how the hexagonal architecture can help build robust, change-tolerable, maintainable, and cloud-native applications that can meet the needs of enterprises seeking to increase their profits while dealing with uncertainties. This book starts by uncovering the secrets of the hexagonal architecture's building blocks, such as entities, use cases, ports, and adapters. You'll learn how to assemble business code in the domain hexagon, create features with ports and use cases in the application hexagon, and make your software compatible with different technologies by employing adapters in the framework hexagon. In this new edition, you'll learn about the differences between a hexagonal and layered architecture and how to apply SOLID principles while developing a hexagonal system based on a real-world scenario. Finally, you'll get to grips with using Quarkus to turn your hexagonal application into a cloud-native system.By the end of this book, you'll be able to develop robust, flexible, and maintainable systems that will stand the test of time.

What you will learn

  • Apply SOLID principles to the hexagonal architecture
  • Assemble business rules algorithms using the specified design pattern
  • Combine domain-driven design techniques with hexagonal principles to create powerful domain models
  • Employ adapters to enable system compatibility with various protocols such as REST, gRPC, and WebSocket
  • Create a module and package structure based on hexagonal principles
  • Use Java modules to enforce dependency inversion and ensure software component isolation
  • Implement Quarkus DI to manage the life cycle of input and output ports

Who this book is for

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

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Designing Hexagonal Architecture with Java by Davi Vieira in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Designing Hexagonal Architecture with Java
  2. Contributors
  3. Preface
  4. Part 1: Architecture Fundamentals
  5. 1
  6. 2
  7. 3
  8. 4
  9. 5
  10. Part 2: Using Hexagons to Create a Solid Foundation
  11. 6
  12. 7
  13. 8
  14. 9
  15. Part 3: Becoming Cloud-Native
  16. 10
  17. 11
  18. 12
  19. 13
  20. 14
  21. Part 4: Hexagonal Architecture and Beyond
  22. 15
  23. 16
  24. 17
  25. Index
  26. Other Books You May Enjoy