JAX | 6. - 10. Mai 2019, Mainz

Spring Boot with Kotlin, functional Configuration and GraalVM

Session
Infos
Mittwoch, 8. Mai 2019
11:45 - 12:45

In this talk, I will live code a Spring Boot application with no annotation that will run as a native image compiled with GraalVM. This application will leverage [Kofu configuration] (https://github.com/spring-projects/spring-fu/tree/master/kofu), a Kotlin DSL designed to configure your application in a functional way. I will also present various features currently incubated in [Spring Fu] (https://github.com/spring-projects/spring-fu):

– Kofu (Kotlin DSL) and Jafu (Java DSL) configuration for Spring Boot

– Minimal set of features enabled by default

– No classpath scanning, no feature enabled based on classpath detection

– Both declarative (via the DSL) and programmatic (code auto-complete, allow any kind of if, for statements)

– Functional configuration based on pure lambdas

– Minimal reflection usage, no CGLIB proxy, no annotation processing

– Faster startup and lower memory consumption

– GraalVM native images support

– Reactive SQL via [R2DBC] (https://r2dbc.io/)

– Coroutines web and persistence API

I will explain where we are, what we learnt, and what’s coming next in term of the new Spring Framework and Spring Boot features.

Alle News der Java-Welt:
Alle News der Java-Welt:

Behind the Tracks of JAX 2019

Agile & Culture
Teamwork & Methoden

Data Technologies & Machine Learning
Speicherung, Processing & mehr

Clouds, Kubernets & Serverless
Alles rund um Cloud

Core Java & JVM Languages
Ausblicke & Best Practices

DevOps & Continuous Delivery
Deployment, Docker & mehr

Microservices & Architecture
Strukturen & Frameworks

Web Development & JavaScript
JS & Webtechnologien

Performance & Security
Sichere Webanwendungen

Microservices & Serverside Java
Spring, JDK & mehr

Digital Transformation & Innovation
Technologien & Vorgehensweisen

Software Architecture
Best Practices