Practical Domain-Driven Design in Enterprise Java

Using Jakarta EE, Eclipse MicroProfile, Spring Boot, and the Axon Framework

  • Vijay Nair

Table of contents

  1. Front Matter
    Pages i-xv
  2. Vijay Nair
    Pages 1-15
  3. Vijay Nair
    Pages 17-37
  4. Vijay Nair
    Pages 39-91
  5. Vijay Nair
    Pages 93-188
  6. Vijay Nair
    Pages 189-276
  7. Vijay Nair
    Pages 277-372
  8. Back Matter
    Pages 373-379

About this book


See how Domain-Driven Design (DDD) combines with Jakarta EE MicroProfile or Spring Boot to offer a complete suite for building enterprise-grade applications. In this book you will see how these all come together in one of the most efficient ways to develop complex software.   

Practical Domain-Driven Design in Enterprise Java starts by building out the Cargo Tracker reference application as a monolithic application using the Jakarta EE platform. By doing so, you will map concepts of DDD (bounded contexts, language, and aggregates) to the corresponding available tools (CDI, JAX-RS, and JPA) within the Jakarta EE platform. 

Once you have completed the monolithic application, you will walk through the complete conversion of the monolith to a microservices-based architecture, again mapping the concepts of DDD and the corresponding available tools within the MicroProfile platform (config, discovery, and fault tolerance). To finish this section, you will examine the same microservices architecture on the Spring Boot platform. 

The final set of chapters looks at what the application would be like if you used the CQRS and event sourcing patterns. Here you’ll use the Axon framework as the base framework. 

You will:
  • Discover the DDD architectural principles and use the DDD design patterns
  • Use the new Eclipse Jakarta EE platform 
  • Work with the Spring Boot framework
  • Implement microservices design patterns, including context mapping, logic design, entities, integration, testing, and security
  • Carry out event sourcing
  • Apply CQRS 


domain driven design DDD Java enterprise Java EE Jakarta EE Spring Boot microservices microprofile AXON framework

Authors and affiliations

  • Vijay Nair
    • 1
  1. 1.Mountain ViewUSA

Bibliographic information

Industry Sectors
Finance, Business & Banking
IT & Software
Energy, Utilities & Environment