~/talk

Code Once, Use Everywhere: Building a Shared Module used by Multiple Projects

slides:none on file

A real Spring Boot shared module used across five to six production projects is described: a modular layout (core / spring / autoconfigure / starter / test), a BOM for versions, and starters wired to Micrometer + OpenTelemetry bridge. Auto-configurations use optional Maven deps and require constructor parameters (no proxying), metadata is generated via spring-boot-configuration-processor so IDEs show properties, and test utilities (ArchUnit checks, test execution listeners, fail‑fast DI) catch issues early — the setup works and reduced urgent upgrades and vulnerabilities.

AI-written summary · about

  1. 0:00Introduction
  2. 4:21Library structure with Spring Boot
  3. 13:52Auto configuration and beans
  4. 18:47Configuration discovery
  5. 21:17Testing shared modules
  6. 23:28ArchUnit conventions
  7. 28:03Documentation best practices
  8. 31:15Versioning strategy
  9. 36:11Implementation tips
~/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.