Kotlin and Spring: Pragmatism and Power
summary
Shows a working Kotlin/Native POSIX file reader that compiles to native code, allocates a native buffer, reads lines and prints them; demonstrates Kotlin null-safety preventing pointer errors. Builds a Spring Boot app using Exposed + PostgreSQL JDBC example (table, data class, service, transactions) that queries and prints rows. Converts a reactive stack to a concise DSL with R2DBC + Spring WebFlux with coroutines, using coRouter and awaitFirst to get nonblocking domain objects. All examples compile and run in the demos.
AI-written summary · about
