Giter VIP home page Giter VIP logo

domain-driven-design-with-java-a-practitioner-s-guide's Introduction

Domain-Driven Design with Java - A Practitioner’s Guide

Domain-Driven Design with Java - A Practitioner’s Guide

This is the code repository for Domain-Driven Design with Java - A Practitioner’s Guide, published by Packt.

Create simple, elegant, and valuable software solutions for complex business problems

What is this book about?

Domain-Driven Design (DDD) makes available a set of techniques and patterns that enable domain experts, architects, and developers to work together to decompose complex business problems into a set of well-factored, collaborating, and loosely coupled subsystems.

This book covers the following exciting features:

  • Discover how to develop a shared understanding of the problem domain
  • Establish a clear demarcation between core and peripheral systems
  • Identify how to evolve and decompose complex systems into well-factored components
  • Apply elaboration techniques like domain storytelling and event storming
  • Implement EDA, CQRS, event sourcing, and much more
  • Design an ecosystem of cohesive, loosely coupled, and distributed microservices
  • Test-drive the implementation of an event-driven system in Java
  • Grasp how non-functional requirements influence bounded context decompositions

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

interface PasswordService {
    String generateStrongPassword();
    boolean isStrong(String password);
    boolean isWeak(String password);
}

Following is what you need for this book: This book is for intermediate Java programmers looking to upgrade their software engineering skills and adopt a collaborative and structured approach to designing complex software systems. Specifically, the book will assist senior developers and hands-on architects to gain a deeper understanding of domain-driven design and implement it in their organization. Familiarity with DDD techniques is not a prerequisite; however, working knowledge of Java is expected.

Errata

  • Page 28: Figure 1.21 is incorrect and the correct image is as follows:

Pre-Requisites

  • JDK 14
  • Maven 3.3+

Usage

Convert the AsciiDoc to HTML5 by invoking the process-resources goal (configured as the default goal):

$ mvn

Open the file target/generated-docs/main.html in your browser to see the generated HTML file containing the generated diagram images.

Graphviz configuration

Asciidoctor Diagram bundles both the ditaa and PlantUML libraries and will use them to generate diagrams. In order to generate diagrams using Graphviz, you must install it separately. There are two options to reference the installed Graphviz's dot tool in order to generate diagrams: system's PATH or plug-in attributes configuration.

Configuration via system's PATH

Visit Graphviz' site for details on how to install the dot command tool, and to make the dot command available on your system's PATH.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
1-12 Spring Framework Windows/Linux/macOS
1-12 Axon Framework Windows/Linux/macOS
1-12 JavaFX Windows/Linux/macOS

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Authors

Premanand (Prem) Chandrasekaran is a technology leader and change agent with a solid track record of leading large technology teams and helping businesses deliver mission critical problems while exhibiting high internal and external quality. In the past two decades, he has had the pleasure of helping a variety of clients and domains ranging from financial services, online retailers, education, healthcare startups among others. His specialties include technical innovation, architecture, continuous delivery, agile/iterative transformation and employee development. When not fiddling with his trusty laptop, he spends time with his son ripping beyblades, playing video games and analyzing the nuances of cricket.

Karthik Krishnan is a technology leader with over 25 years of experience in designing and building large-scale enterprise solutions across financial and retail domains. He has played numerous technical roles in leading product development for major financial institutions. He is currently serving the role of Technical Principal at Thoughtworks. He is passionate about platform thinking, solution architecture, application security and strives to be known as a coding architect. His most recent assignment entailed leading a large technology team helping their clients in their legacy modernization journey with Cloud. When not working, he spends time practicing playing tunes on his musical keyboard.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781800560734

domain-driven-design-with-java-a-practitioner-s-guide's People

Contributors

karthik-krishnan avatar karthikk-kr avatar packt-itservice avatar packt-pradeeps avatar premanandc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

domain-driven-design-with-java-a-practitioner-s-guide's Issues

Module names in parent pom.xml are invalid

Currently, modules are listed as

    <modules>
        <module>book</module>
        <module>ch05</module>
        <module>ch06</module>
        <module>ch07</module>
        <module>ch08</module>
        <module>ch09</module>
    </modules>

while they should be

<modules>
    <module>book</module>
    <module>Chapter05</module>
    <module>Chapter06</module>
    <module>Chapter07</module>
    <module>Chapter08</module>
    <module>Chapter09</module>
</mod

This prevents building a project from the root and complicates import in IDE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.