Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Enforcing Architecture in Legacy Systems
Search
Roland Weisleder
June 18, 2026
Programming
11
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Enforcing Architecture in Legacy Systems
Roland Weisleder
June 18, 2026
More Decks by Roland Weisleder
See All by Roland Weisleder
Architecture as Code in Practice
rweisleder
0
43
Three Principles To Bring Your Legacy Code Into the Future
rweisleder
0
260
Unit Test Your Java Architecture With ArchUnit
rweisleder
0
640
Immer wieder die gleichen Fehler? Nicht mit ArchUnit!
rweisleder
0
400
Alles einsteigen! Einen eigenen Release Train mit Maven umsetzen
rweisleder
0
360
7 Tipps für eine verständliche Git-Historie
rweisleder
0
190
Other Decks in Programming
See All in Programming
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
720
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
270
Jetpack Compose メカニズム
skydoves
0
440
一人だけ、Kiroが静止する日
hideg
0
110
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
320
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
410
What We Talk About When We Talk About XP
m_seki
2
640
アクセシビリティから考える情報設計
high_g_engineer
0
380
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
210
App Intentsのビルドプロセスを支える技術
kntkymt
0
380
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
250
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
870
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Ruling the World: When Life Gets Gamed
codingconduct
0
330
Building Applications with DynamoDB
mza
96
7.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Code Review Best Practice
trishagee
74
20k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
810
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
410
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.1k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
Done Done
chrislema
186
16k
Transcript
Enforcing Architecture in Legacy Systems @rweisleder.de
[email protected]
Whoever wishes to build high towers must spend much time
near the foundation. Anton Bruckner
Source: https://unsplash.com/photos/AF36q06J8fQ
Source: https://xkcd.com/2347/
Source: https://www.monkeyuser.com/2019/v-201/
Source: https://unsplash.com/photos/snNHKZ-mGfE
Compatibility Portability Maintainability Security Performance effiency Reliability Usability Functional suitability
Evolution Value Chain Genesis Custom Built Product Commodity visible invisible Based on: https://www.innoq.com/en/blog/quality-value-chain-evolution/
Challenge: Architecture Code Gap { }
Architecture Tests as Guardrails • Make architecture explicit • Prevent
architectural erosion • Guide continuous change
Demo
Enforcing Architecture Stepwise Technical Architecture • Naming conventions • Layered
architecture • Framework boundaries • Dependency rules Domain Architecture • Module boundaries • Dependency directions • Cycle prevention • Public APIs Cross-Cutting Concerns Security Transaction Auditing Observability
Best Practices in Legacy Systems • Start with the thing
that causes the most issues • Use freezing if you can’t fix it immediately • Resolve violations stepwise
Challenge: Architecture Code Gap { } Easy to use in
legacy projects ☺
https://github.com/rweisleder/archunit-spring
With ArchUnit, the Leaning Tower of Pisa would not have
happened. Some AI trying to summarize this talk
Testing can detect only the presence of errors, not their
absence.
Enforcing Architecture in Legacy Systems Code github.com/rweisleder/archunit-spring github.com/rweisleder/archunit-talk-examples github.com/TNG/ArchUnit-Examples Docs
archunit.org archunitnet.readthedocs.io ts-arch.github.io/ts-arch/ pypi.org/project/PyTestArch/ Slides speakerdeck.com/rweisleder Need help with your Legacy Code? Contact me!
[email protected]
in/roland-weisleder @rweisleder.de