~/talk

Using Kotlin and Data Classes to set up Spring Boot with DynamoDB

Talkat Kotlin/Everywhere Chicago 2019 · on Friday, 2019-08-23· [kotlin, spring, databases]
name:Bex Way
links:none on file
slides:none on file

Kotlin data classes plus Spring Boot and DynamoDB cut boilerplate: repository CRUD and dynamic finders come from Spring Data DynamoDB, nested maps map directly into nested data classes, JSON blobs use type converters (custom converters allowed), and a composite key becomes a single ID class because the repository expects one ID. Local testing runs DynamoDB in Docker. JVM-required getters/setters are still needed for the ID fields so sometimes non-idiomatic Kotlin (no-arg constructor or defaults) is necessary.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50DynamoDB
  3. 1:50DynamoDB Data
  4. 3:22Creating a Table
  5. 5:03JPA Provider
  6. 6:12Enable Repository
  7. 7:30Composite Key
  8. 9:54Map
  9. 10:10Load Map
  10. 12:07Load Data Class
  11. 12:35Type Converter
~/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.