~/talk

Advanced Kotlin Techniques for Spring Developers

Talkat Voxxed Days Luxembourg 2023 Β· 2023-06-21..06-22Β· [kotlin]
slides:none on file

Shows concrete Kotlin techniques for Spring: generate projects with start.spring.io, enable -Xjsr305=strict to get runtime null checks, and fix Jackson + primitive defaults by making primitives nullable or using Jackson settings. Recommends kotlin-jpa plugin to add bytecode no-arg constructors but stresses hand-implemented equals/hashCode for JPA entities. Demonstrates Kotlin JDBC template extensions that move varargs and allow inline row mappers, and shows a beans DSL and security DSL for compact configuration plus an ApplicationContextInitializer workaround found during testing. Recommends jOOQ for SQL.

AI-written summary Β· about

  1. 0:00Intro
  2. 2:28My application
  3. 3:56Minimum dependencies
  4. 4:43Main class
  5. 5:51First controller
  6. 7:48Why? How?
  7. 11:02Updating class
  8. 12:17Quick summary
  9. 13:00Nanoentity
  10. 13:47Improving
  11. 14:42But there is no no-arg constructor!
  12. 16:05Is this enough?
  13. 18:44Let's inline mapper
  14. 21:22Extension functions
  15. 23:51Custom bean
  16. 25:24Arbitrary logic
  17. 26:30OK How do I use it?
  18. 27:51Let's test it
  19. 29:11Requires some glue to work
  20. 34:00So, what did I learn?
  21. 36:46Thank you! Questions?
  22. 39:33Spring Security
~/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.