Appendix A: Using Jooby Instead of Ktor
In this appendix, you’ll learn how to use Jooby instead of Ktor. It doesn’t cover everything you’ve done with Ktor in this book, but it covers enough to get you started.
Jooby (https://jooby.io/) is a Java library that’s well suited in the context of this book, as it’s a focused library that only does what you explicitly tell it to. It has a small Kotlin API, called Kooby, that adds some extra Kotlin-specific features that make it easy to work with from Kotlin.
The reason you’re using Jooby, instead of something like Spring Boot, is that Jooby fits the library definition of this book. Architecturally, Jooby and Kotlin are similar in that they both have a function to start a server, you can programmatically ...