Book Image

Building Applications with Spring 5 and Kotlin

By : Miloš Vasić
Book Image

Building Applications with Spring 5 and Kotlin

By: Miloš Vasić

Overview of this book

Kotlin is being used widely by developers because of its light weight, built-in null safety, and functional and reactive programming aspects. Kotlin shares the same pragmatic, innovative and opinionated mindset as Spring, so they work well together. Spring when combined with Kotlin helps you to reach a new level of productivity. This combination has helped developers to create Functional Applications using both the tools together. This book will teach you how to take advantage of these developments and build robust, scalable and reactive applications with ease. In this book, you will begin with an introduction to Spring and its setup with Kotlin. You will then dive into assessing the design considerations of your application. Then you will learn to use Spring (with Spring Boot) along with Kotlin to build a robust backend in a microservice architecture with a REST based collaboration, and leverage Project Reactor in your application. You’ll then learn how to integrate Spring Data and Spring Cloud to manage configurations for database interaction and cloud deployment. You’ll also learn to use Spring Security to beef up security of your application before testing it with the JUnit framework and then deploying it on a cloud platform like AWS.
Table of Contents (12 chapters)

Summary

The exercises we did in this chapter represent just the beginning of a long journey into the world of testing, especially when it comes to testing Spring-specific features. Spring Framework provides us with the tools that are capable of testing each of its components. To better understand Spring Framework testing concepts and capabilities, we recommend that you read the official Spring testing documentation as much as possible or read a book dedicated specifically to this area. For now, it's enough to understand what we presented here, the concept of testing itself, and why it's so important for us. In the next chapter, we will deploy our project and prepare, build, and demonstrate deployment procedures. This is the last piece of the puzzle left!