~/talk

How we buid and mitigated our Spring Boot applications to Kotlin

Talkat Voxxed Days Cluj-Napoca 2022 · 2022-10-05..10-07· [java, kotlin]
name:Ko Turk
slides:none on file

Migration follows incremental module/layer moves with concrete steps: use IntelliJ’s convert Java file to Kotlin, update Maven POM and Java 11 settings, drop Lombok for data classes and null-safety, replace null checks with Elvis and scoped functions (let/also/run), turn blocking clients (3 clients: Kafka, REST, SOAP) into nonblocking code using suspend functions and coroutines and launch/async, adopt extension functions and runCatching and extension methods for cleaner error handling, keep unit/integration tests, deploy working services after small, safe commits.

AI-written summary · about

  1. 0:00Migrating to Kotlin
  2. 3:06Kotlin vs Java issues
  3. 6:06Team and project prep
  4. 9:03Migration step by step
  5. 13:01Convert Java to Kotlin
  6. 15:13Remove Lombok simplify
  7. 17:20Constructor injection less boilerplate
  8. 21:29Reactive clients null safety
  9. 24:00Readability with extensions
  10. 27:03Replace if with 'when'
  11. 29:11Coroutines non-blocking
  12. 31:22Coroutines in Spring Boot
  13. 32:06Blocking to coroutines
  14. 36:56Suspension vs threads
  15. 40:18Coroutines benefits
  16. 43:12Takeaways best practices
  17. 44:40Q&A
~/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.