~/talk

Developing a Geospatial Webservice with Kotlin and Spring Boot

Talkat Spring I/O 2016 · 2016-05-19..05-20· [kotlin, databases]
slides:none on file

Practical demo: a geospatial chat (OpenLayers front end) backed by Kotlin + Spring Boot, Postgres with PostGIS and JSONB metadata indexed for fast lookups, implemented without JPA using Exposed SQL DSL and Kotlin extensions that add a point column and a within operator to express spatial queries like PostGIS intersection queries. Updates push via server-sent events. Resulting fat jar is ~18 MB, starts under 3s and runs in very small heaps (Xmx ~32 MB); Kotlin 1.1 fixes annotation-array and final-class proxy frictions.

AI-written summary · about

  1. 0:00Intro
  2. 1:34Limits of Java
  3. 3:14Kotlin Elegant and pragmatic language
  4. 4:52Use cases
  5. 12:16Optional and named parameters y
  6. 19:53Spring Boot + Kotlin
  7. 27:42Geospatial Messenger
  8. 32:26PostgreSQL example Geospatial SQL queries
  9. 36:48Repository interface
  10. 36:59Repository Implementation
  11. 38:53Kotlin extensions
  12. 40:22Configuration
  13. 41:59Build Gradle
  14. 43:55Deployment • Regular Spring Boot Runnable JAR
  15. 48:22Slack, forum ...
  16. 48:52What's next?
~/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.