~/talk

State of Kotlin Support in Spring

Talkat Kotlin 1.4 Online Event · 2020-10-12..10-15· [kotlin, serverless]
slides:none on file

Spring Boot 2.4 adds kotlinx.serialization JSON support and broad coroutine APIs for WebFlux and MVC where suspend/Flow map to Reactor Mono/Flux, plus multiplatform RSocket via rsocket-kotlin. Native builds use paketo buildpacks and the spring-graalvm-native plugin to produce tiny images (~20 MB OS + ~50 MB app) with near-instant startup (PetClinic ~100 ms). Spring Fu’s KoFu DSL provides an explicit, programmatic Kotlin configuration alternative to annotation/reflection-based setups, still incubating while Spring Boot 3 plans first-class native support.

AI-written summary · about

  1. 0:00Intro
  2. 0:39First class support for Java and Kotlin
  3. 1:03Getting started
  4. 1:59Minimal Spring Boot Kotlin application
  5. 2:22Gradle Kotlin DSL
  6. 3:27Follow the tutorial on
  7. 4:06Spring Framework documentation in Kotlin
  8. 5:07Choose your web server stack
  9. 6:46Do you prefer annotations?
  10. 8:59First class Coroutines support
  11. 9:30Suspending functions
  12. 10:44Multiplatform
  13. 11:41kotlinx.serialization support New in Spring Boot 2.4
  14. 15:26RSocket support in Spring messaging
  15. 16:31Other key points
  16. 16:51@Configuration Properties data classes
  17. 17:04Spring Security Kotlin DSL New in Spring Security 5.4
  18. 17:25Spring Boot native applications With Graal VM native
  19. 18:11JVM and native executables offer different trade-offs
  20. 18:43Instant startup and cheaper hosting
  21. 19:52Spring support for native executables
  22. 23:42What's next? Programmatic configuration for Spring Boot using a Kotlin DSL
  23. 23:58Spring Fu is an incubator for a functional flavor of Spring Boot
  24. 24:32What is the same than Spring Boot?
  25. 24:49What changes?
  26. 25:23Spring Boot configured with Kofu
~/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.