To help upskill today's Java and Spring developers, Learn Kotlin for Spring Development teaches you the Kotlin programming skills and techniques necessary and applicable for building applications with the Spring Boot framework. Instead of Java, you use Kotlin. This book teaches you how to migrate your Java programming skills to Kotlin, a Java Virtual Machine (JVM) programming language. With this book, you'll learn to build Spring Boot applications and microservices with clearer, more concise code, more productivity, and get better performance Kotlin continues to emerge as an increasingly popular alternative Java Virtual Machine or JVM-based programming language, first for Android app developers, and now more recently, for Spring Boot and Spring Framework application developers. Kotlin offers these advantages over Java: clearer, more concise code, null safety, val over var, ease of use boilerplate code, especially for web applications. Kotlin is lightweight; offers better productivity and performance.as well. This book is divided into two parts.
First, get a tour of the Kotlin language, functions, types, collections, generics, classes and more. You'll also gain additional fundamentals like unit testing and the interoperability of Kotlin with Java. Second, you learn how to apply the Kotlin language fundamentals to a Spring Boot application, which includes getting started with a sample project. You'll learn set-up, functional programming, persistence with Hibernate which also supports Kotlin, not just Spring (and Android). After reading and using this book, you'll come away and be able to build your own Spring Boot application using the Kotlin language which is lighter, easier to use and better performing than Java. What you'll learn: Program your first Spring Boot application with Kotlin, instead of Java Tour the Kotlin language, its functions, types, collections, generics, collections, classes and more Dive into higher order functions, unit testing and interoperability mappings Apply to Spring Boot for the first time Add Hibernate to your Boot application for persistence and data accessibility Take advantage of functional programming available in Kotlin, not in Java Who This Book Is For This book is for Spring developers, who are new to Kotlin and are looking to leverage Kotlin, instead of Java. This book is also for Java developers or programmers who are new to Kotlin as well.