10 Spring Boot with Kotlin, Native Image and GraphQL

 

This chapter covers:

  • Spring Boot with Kotlin and Spring Kotlin DSLs
  • Spring Boot Native Image with GraalVM
  • Spring Boot with GraphQL

In the previous chapter, you’ve explored how to deploy Spring Boot applications on various platforms. In this final chapter of this book, we’ll discuss Spring Boot with Kotlin, GraalVM Native Image and GraphQL.

Spring Framework 5.0 provided extensive support for Kotlin programming language and the nature of the support is such that you can develop Spring Boot applications with Kotlin without even writing a single line of Java code. Besides, Spring Boot provides several Domain Specific Language (DSLs) to further simplify the code syntax.

GraalVM Native Image and GraphQL are two major technologies for which Spring Boot extends its support. Currently, these technologies have experimental support in Spring Boot and features are under development. GraalVM Native Image turns the Spring Boot applications into an architecture-specific native executable which has a faster start-up time and consumes less memory footprint. GraphQL offers an alternative approach to REST APIs to develop efficient APIs. Let's see these in practice with Spring Boot.

10.1 Spring Boot with Kotlin

 
 
 
 

10.2 Introducing Spring Native

 
 
 

10.2.1 Introduction to GraalVM

 
 
 
 

10.2.2 GraalVM Native Image

 
 
 

10.2.3 Spring Boot Native Image

 
 
 

10.2.4 Understanding Spring AOT Maven Plugin

 
 

10.3 Spring Boot with GraphQL

 

10.3.1 Issues with REST

 
 

10.3.2 Introduction to GraphQL

 
 

10.3.3 Using GraphQL with Spring Boot

 
 
 

10.4 Chapter Summary

 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest