Tips & Tricks Tutorials

Fully Reactive: Spring, Kotlin and JavaFX playing together

Spring Framework 5 brings full reactive support to developers everywhere. What better way to demo reactive programming than to actually build something live? In this presentation, Trisha creates an end-to-end application using Spring Framework 5, Spring Boot, Reactor, Kotlin and JavaFX, all built using IntelliJ IDEA Ultimate.

During this session, we see how these different components work together really easily using Spring.

I presented this live demo at SpringOne Platform a couple of weeks ago, showing how to build a Spring Boot application that displays real-time prices, using Spring (obviously), Kotlin and JavaFX. I’m very happy the conference recorded the video and has already published it!

You can find the code for the demo here:

You can work with Spring and Spring Boot applications in both IntelliJ IDEA Community and Ultimate, but Ultimate has extra support for Spring and Spring Boot which gives us developers extra help and support.

If it’s Kotlin you’re interested in, one of the best places to start is kotlinlang.org.

To get started with JavaFX, remember that since Java 11 this is independent from the JDK, you can find more information on how to get started at openjfx.io.

This demo has lots of moving parts and although each piece is as simple as I could make it, it’s quite a lot to take in as a 70 minute video.  If any part of this demo is interesting to you, I have good news!  More detailed information on how to build an application like this is coming to both this blog and the YouTube channel very soon.  Stay tuned…

image description