Have fun learning about Test-Driven Development with JitterTed's TDD Game

My Presentations


Here you’ll find upcoming talks, presentations, meetups, etc., and slides, source code, recordings, etc. from talks I’ve given in the past.

Upcoming Talks

Looking to give some talks while I’m in the Hamburg area in September. Check my public calendar for where I’ll be and let me know if you’d like me to give a talk at your group or company.

Talks I’m Giving

My current talk is about Event Sourcing: Simpler Persistence Without ORMs If you’re interested in me giving this talk at your group or company, get in touch (ted at tedmyoung dot com):

  • Abstract:

    Event Sourcing is not just a different way to persist data, but a different way of thinking about data. With ORMs like Hibernate, we have to consider query performance, fetch strategies, mapping domain models to database schemas, caching, etc. With Event Sourcing, we can use a few simple patterns to build our systems:

    • Commands: user actions representing an intention, e.g., “Buy Concert Ticket”
    • Events: meaningful changes to state as a result of executing Commands, e.g., “Ticket Purchased”
    • Read Models: up-to-date views of Events, derived specifically for a particular way of looking at the data, e.g., “My Tickets”, or “All Ticket Sales”

    Need caching for the ticket sales report? That’s a Read Model. Display tickets for a Customer? That’s another Read Model, using the same principles to derive the desired view of state. Performance isn’t an issue, as replaying events is very fast. Even in a system with millions or billions of events, we only need to replay events related directly to a specific entity or state view.

    You’ll see what makes Event Sourcing a mindshift rather than just a different persistence mechanism: updates are just appends to a log, mapping objects is no longer needed, and you keep the history of changes to data, so you can always know what happened and ask questions you didn’t expect to have.

Past Talks

Even though I’ve been giving my “Event Sourcing” talk a lot, it changes every time as I get questions, shift focus, and improve my explanations. So make sure you grab the slides for the talk you saw!

I am always happy to answer questions, so don’t hesitate to connect on LinkedIn, or my Discord where we also run a weekly technical book club and have dedicated channels to Event Sourcing, DDD, and other topics.

I’m also running an online (Zoom) workshop on Event-Sourcing where you’ll have a chance to dig deeper into the concepts and code. It’ll happen in January, and the best way to find out more is join the Discord!

Event Sourcing: Simpler Persistence Without ORMs - November 10, 2026 (Berlin, Germany)

Thanks to the Spring, Java, Microservices, and DDD Berlin groups for hosting and PRODYNA SE for providing the space (and food) for my talk!

I’m currently reworking the source code to make it match better with my current presentation, but you can find the current repositories below, as well as the implementation of JitterTicket, the event-sourced app that tracks my travel.

The Event Sourcing Mindshift - Simple Patterns = More Flexible Systems - October 15, 2026 (dev2next - Denver, CO)

Thanks to the Hamburg JUG for hosting and Step Beyond GmbH for providing the space and (lots of!) pizza!

I’m currently reworking the source code to make it match better with my current presentation, but you can find the current repositories below, as well as the implementation of JitterTicket, the event-sourced app that tracks my travel.

Learn about Test-Driven Development by Playing a Board Game - October 13, 2026 (dev2next - Denver, CO)

Thanks for coming and playing the game! If you were there, I’d appreciate a review, and spread the word. You can buy your own copy at https://tdd.cards.

Event Sourcing and the End of DDD Tactical Patterns? - June 29, 2026 (Munich)

Thanks to Enis and the rest of the OpenValue folks for hosting me in Munich, it’s always great to give a talk to such an engaged and interested audience!

Event Sourcing and the End of DDD Tactical Patterns? - June 23, 2026 (Leipzig Software Crafters Community)

slides, etc. are coming soon (yes, every presentation is different!)

Event Sourcing and the End of DDD Tactical Patterns? - June 9, 2026 (Gembloux, Belgium)

slides, etc. are coming soon (yes, every version of this talk is different!)

  • Abstract:

    You finally have a Domain Model that represents the business and supports the functionality of the system. Then the hard part: how do you persist that model to a relational database like Postgres, or a document database like MongoDB? Maybe you’re a purist (like me), mapping domain objects to separate database entities that have ORM annotations (e.g., Hibernate). Or, you directly annotate your domain objects, but find yourself compromising the elegant domain model to fit the way databases store information (the infamous “Object–relational impedance mismatch”).

    Event sourcing avoids this problem while providing flexible transactional (consistency) boundaries. Instead of mapping object state to tables, you store a sequence of events that led up to the current state: “Concert Scheduled”, “Tickets Purchased”, etc. Each event is appended to an ever-growing immutable log, making writes almost trivial, with “projections” making custom-fit views straightforward.

    However, event sourcing requires a mind-shift from the well-known CRUD and DDD Tactical Patterns (Aggregates and Repositories), but the benefits are more flexible systems, with a less “leaky” way to externalize the state of your domain model that is easier to apply across the domain.

    In this talk, you’ll learn how event-sourcing works at the code level without event-sourcing libraries getting in the way of deeper understanding. We’ll walk through a codebase for a Concert Ticketing system and see how straightforward the implementation can be.

    We start with “Event Modeling” the system, defining the commands (user actions) that generate them, the aggregates that make business decisions (and how to move to “deciders”), and the projections used to generate the user interface. We’ll see how event-sourcing makes testing easier to write and understand.

    We’ll end by touching on the challenges to using event-sourcing, such as performance and schema evolution.

Event Sourcing and the End of DDD Tactical Patterns? - April 30, 2026 (BERN JUG)

Thanks to Simon Martinelli (and Thomas Wenger) for hosting my talk and to all the folks who came and asked great questions!

  • Presentation Slides

  • Source code for JitterTicket

  • Learning Journal: Read my notes from the past few months about my thinking and learning while developing the event-sourced JitterTicket application on my blog.

  • Abstract:

    Event-sourcing allows the business to ask questions about your application’s data that weren’t thought of when the system was created, such as “how often are customers changing their shipping address?”.

    However, it requires a mind-shift from the well-known DDD Tactical Patterns (Aggregates and Repositories), but the benefits are more flexible systems, with a state-change trail that AI can leverage.

    In this session, you’ll learn how event-sourcing works at the code level without event-sourcing libraries getting in the way of deeper understanding. We’ll walk through a codebase for a Concert Ticketing system and see how straightforward the implementation can be.

    We start with “Event Modeling” the system, defining the commands (user actions) that generate them, the aggregates that make business decisions (and how to move to “deciders”), and the projections used to generate the user interface. We’ll see how event-sourcing makes testing easier to write and understand.

    We’ll end by touching on the challenges to using event-sourcing, such as performance and schema evolution.

Stop Fighting Your ORM: Simpler, More Flexible Systems with Event-Sourcing - April 28, 2026 (INNOQ)

  • Presentation Slides

  • Source code for JitterTicket

  • Learning Journal: Read my notes from the past few months about my thinking and learning while developing the event-sourced JitterTicket application on my blog.

  • Abstract:

    You finally have a Domain Model that represents the business and supports the functionality of the system. Then the hard part: how do you persist that model to a relational database like Postgres, or a document database like MongoDB? Maybe you’re a purist (like me), mapping domain objects to separate database entities that have ORM annotations (e.g., Hibernate). Or, you directly annotate your domain objects, but find yourself compromising the elegant domain model to fit the way databases store information (the infamous “Object–relational impedance mismatch”).

    Event sourcing avoids this problem while providing flexible transactional (consistency) boundaries. Instead of mapping object state to tables, you store a sequence of events that led up to the current state: “Concert Scheduled”, “Tickets Purchased”, etc. Each event is appended to an ever-growing immutable log, making writes almost trivial, with “projections” making custom-fit views straightforward.

    However, event sourcing requires a mind-shift from the well-known CRUD and DDD Tactical Patterns (Aggregates and Repositories), but the benefits are more flexible systems, with a state-change trail that AI can leverage.

    In this talk, you’ll learn how event-sourcing works without complex event-sourcing libraries getting in the way. We’ll walk through a codebase for a Concert Ticketing system and see how straightforward the implementation can be.

    We start with “Event Modeling” the system, defining the commands (user actions) that generate them, the aggregates that make business decisions (and how to move to “deciders”), and the projections used to generate the user interface. We’ll see how event-sourcing makes testing easier to write and understand.

    We’ll end by touching on other challenges to using event-sourcing, such as performance and schema evolution.

Want me to give one of the talks below at your group or organization (in-person or remote)? Contact me and let’s make it happen! ted@ this domain (ted.dev).

Testable Architecture - April 22, 2026 (JCON Europe)

  • Presentation Slides

  • Source code for the Ensembler project that I used for some of the examples.

  • Source code for other examples used in the presentation.

  • Abstract:

    One of the most important, yet misunderstood, aspects of Hexagonal, Clean, and Onion architectures is not their folder structure, but how they keep I/O and domain logic separate. Why? The clear separation makes it easier to write tests: by moving away from the confusing terms of “unit” and “integration” tests to “I/O-based” and “I/O-free”, there’s no longer any confusion about how the test should be structured.

    In this Java code-filled session, we’ll look at how to combine Hexagonal Architecture with Domain-Driven Design’s context boundaries and tactical patterns to make it clear what code goes where and how to test it. We’ll also see how to refactor “mixed up” code to separate I/O from domain and application logic. The result is extremely fast tests for the most important part of your application, the domain, while also reducing the number of tests needed for coordination.

Refactoring Tests - March 26, 2026 (online)

Thanks to the Seattle Software Crafters group for having me!

  • Video Recording on YouTube

  • Presentation Slides

  • Source code used for examples:

  • Abstract:

    Tests are code, too, but don’t get as much attention as production code, often leaving messy, hard to understand tests. Poorly factored tests can also make refactoring production code that much harder.

    In this session, we’ll start with what we need from a good test, using AssertJ and JUnit features to make it readable and maintainable. We’ll walk up the ladder from Helper methods, shared Factory Methods, all the way to Test Data Builders, using automated refactoring tools to easily make the transition. We’ll look at test “smells” and how to repair them, using Parameterized Tests, finishing with how to “retarget” your tests when extracting a new production class from existing code.

Clear up Messy Code with Refactoring Maneuvers in IntelliJ IDEA - March 2026 (DevNexus)

  • Presentation slides

  • Abstract:

    IntelliJ IDEA is an amazingly powerful development tool, providing automatic refactorings such as Extract Method, Introduce Parameter, and many more. But are you taking advantage of its full power? Do you stick with the Extract and Rename refactorings because you’re not sure how to use the more complicated ones?

    In this session, you’ll see how and when to use the many refactorings available to you. You’ll learn about higher-level Refactoring Maneuvers, such as Cohere Method and Expose Details, and how they combine and sequence IntelliJ IDEA’s automated refactorings to make your code more understandable and testable.

    This session will cover:

    • Extract Method
    • Introduce Parameter
    • Move (Instance/Static) Method
    • Make Static
    • Inline Method
    • Introduce Constant
    • Extract Delegate (and Enum)
    • Introduce Field

    Along the way you’ll learn about a wealth of keyboard shortcuts to save your brain from having to think hard.

Testable Architecture: Ya Gotta Keep 'em Separated (Dec. 10, 2025)

  • Recording on YouTube

  • Presentation slides

  • Source code for Ensembler

    • This is the code for the Ensembler project that I used for some of the examples.
  • Source code for other examples used in the presentation.

  • Abstract:

    One of the most important, yet misunderstood, aspects of Hexagonal, Clean, and Onion architectures is not their folder structure, but how they keep I/O and domain logic separate. Why? The clear separation makes it easier to write tests: by moving away from the confusing terms of “unit” and “integration” tests to “I/O-based” and “I/O-free”, there’s no longer any confusion about how the test should be structured.

    In this Java code-filled session, we’ll look at how to combine Hexagonal Architecture with Domain-Driven Design’s context boundaries and tactical patterns to make it clear what code goes where, and how to test it. We’ll also see how to refactor “mixed up” code to separate I/O from domain and application logic. The result is extremely fast tests for the most important part of your application, the domain, while also reducing the number of tests needed for coordination.

Event-Sourcing From Scratch (Nov. 25, 2025)

Event-Sourcing From Scratch at dev2next, October 2025

  • Presentation slides

  • Source code for JitterTicket

  • Abstract

    • Event-sourcing allows the business to ask questions about your application’s data that weren’t thought of when the system was created, such as “how often are customers changing their shipping address?”. Event-sourcing is like version control for your data, with meaningful commit messages, allowing you to understand not just what the current state is, but how it got there.

      In this session, you’ll learn how event-sourcing works at the code level without event-sourcing libraries getting in the way of deeper understanding. We’ll walk through a codebase for a Concert Ticketing system and see how straightforward the implementation can be.

      We’ll start with modeling the events, the commands (user actions) that generate them, the aggregates that make business decisions, and the projections used to generate the user interface. We’ll look at the (Java) code that implements these concepts and see how event-sourcing makes testing easier to write and understand.

      We’ll end by touching on the challenges to using event-sourcing, such as performance and schema evolution (versioning).

JUnit Tests Need Refactoring, Too at dev2next, October 2025

  • Presentation slides

  • Source code for Ensembler

  • Source code for Blackjack

  • Abstract

    • Tests are code, too, but don’t get as much attention as production code, often leaving messy, hard to understand tests. Poorly factored tests can also make refactoring production code that much harder.

      In this session, we’ll start with what we need from a good test, using AssertJ and JUnit features to make it readable and maintainable. We’ll walk up the ladder from Helper methods, shared Factory Methods, all the way to Test Data Builders, using automated refactoring tools to easily make the transition. We’ll look at test “smells” and how to repair them, using Parameterized Tests, finishing with how to “retarget” your tests when extracting a new production class from existing code.

Testable Architecture: Keep 'em Separated at Commit Your Code, September 2025

Title Slide from the presentation
Testable Architecture
  • Video recording of talk is here

  • Slides are available here

  • Source code repository is here

  • Abstract

    • One of the most important, yet misunderstood, aspects of Hexagonal, Clean, and Onion architectures are not their folder structure, but how they keep I/O and domain logic separate. Why? The clear separation makes it easier to write tests: by moving away from the confusing terms of “unit” and “integration” tests to “I/O-based” and “I/O-free”, there’s no longer any confusion about how the test should be structured.

      In this Java code-filled session, we’ll look at how to combine Hexagonal Architecture with Domain-Driven Design’s context boundaries and tactical patterns to make it clear what code goes where and how to test it. We’ll also see how to refactor “mixed up” code to separate I/O from domain and application logic. The result is extremely fast tests for the most important part of your application, the domain, while also reducing the number of tests needed for coordination.


Make Your Code More Testable™️

Don't miss out on ways to make your code more testable. Hear about new Refactoring techniques, improving the Test-Driven Development process, Hexagonal Architecture, and much more.

    We respect your privacy. Unsubscribe at any time.