~/talk

Refactoring to Modernize Java Applications

Talkat Devnexus 2025 · 2025-03-04..03-06· [software-architecture]
slides:none on file

Demonstrates automated refactors that upgrade a Maven project from Java 11 to Java 21, changing pom.xml and source—examples replace list.get(0)/get(size-1) with getFirst/getLast and convert loops to streams—using OpenRewrite with a lossless syntax tree so comments and formatting survive. Recipes run incrementally (11→17→21), can be custom‑written, and cut multi‑project work from months to minutes; tooling and Copilot integration work but remain flaky, so tests and review are essential.

AI-written summary · about

  1. 0:00Modernization benefits and challenges
  2. 4:09Overcoming refactoring fears
  3. 8:30Role of tools and AI
  4. 14:44Introduction to Open Rewrite
  5. 20:16Practical code refactoring demonstration
  6. 31:25Executing automated upgrades
  7. 40:39Reviewing upgrade results
  8. 46:14AI-assisted refactoring with Copilot
~/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.