Summary
In this chapter, we've taken a close look at how Kotlin can be used within a microservices architecture to build server-side code. We discussed some of the benefits of a microservices architecture and dived into how Kotlin fits into that architecture. We learned how Kotlin can be used to write microservices with existing JVM frameworks, and we explored Ktor, a Kotlin-based framework for writing asynchronous server code. Finally, we brought these concepts together by writing a simple microservice with Kotlin using Ktor. By building on the lessons learned in this chapter, we can begin leveraging Kotlin outside of our client-side applications.
In the next chapter, we'll explore common design patterns and how they can be achieved using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access