This is the code repository for Designing Hexagonal Architecture with Java, published by Packt.
Build maintainable and long-lasting applications with Java and Quarkus
This book covers the following exciting features:
- 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
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter05.
The code will look like the following:
public interface RouterNetworkUseCase {
Router addNetworkToRouter(RouterId,
Network network);
Router getRouter(RouterId routerId);
}
Following is what you need for this book: 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-17).
Chapter | Software required | OS required |
---|---|---|
1-17 | Maven 3.8 | Windows, Mac OS X, and Linux (Any) |
1-17 | Java 17 SE Development Kit | Windows, Mac OS X, and Linux (Any) |
1-17 | Docker | Windows, Mac OS X, and Linux (Any) |
1-17 | Postman | Windows, Mac OS X, and Linux (Any) |
1-17 | Newman | Windows, Mac OS X, and Linux (Any) |
1-17 | Kafka | Mac OS X, and Linux (Any) |
-
Domain-Driven Design with Java - A Practitioner’s Guide [Packt] [Amazon]
-
Get Your Hands Dirty on Clean Architecture - Second Edition [Packt] [Amazon]
Davi Vieira is a software craftsman with a vested interest in the challenges faced by large enterprises in software design, development, and architecture. He has more than 10 years of experience constructing and maintaining complex, long-lasting, and mission-critical systems using object-oriented languages. He values the good lessons and the software development tradition left by others who came before him. Inspired by this software tradition, he develops and evolves his ideas.