~/talk

A Deep Dive into Spring Application Events

Talkat SpringOne 2020 · 2020-09-01..09-03· [software-architecture, java]
slides:none on file

Shows that Spring events are synchronous method calls unless annotated with @Async, and that Spring Data’s AbstractAggregateRoot moves event registration into the aggregate so saves auto-publishes domain events. Explains TransactionalEventListener runs on commit (useful for emails) and exposes the bug that failures can lose notifications, then demos an event publication registry prototype persisting event metadata with JPA and Jackson so failed post-commit handlers can be retried or recovered; integration tips and a modulus JUnit extension for testing complete the work.

AI-written summary · about

  1. 0:00Introduction to Spring Events
  2. 1:07Fundamentals of Application Events
  3. 8:36Spring Data Event Integration
  4. 12:47Events and Transactions
  5. 16:41Error Scenarios Explained
  6. 23:31Improving Transactional Listeners
  7. 32:41Architectural Impact of Events
  8. 41:00Decoupling Components with Events
  9. 51:09Q&A and Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.