Fully Reactive: Spring, Kotlin, and JavaFX Playing Together [Links]
Spring Framework 5 brings full reactive support to developers everywhere. Learn more about reactive programming with Spring, JavaFX, and Kotlin!
Join the DZone community and get the full member experience.
Join For FreeYou may also like: Java Annotated Monthly — October 2019
Code
The code may be slightly different from the demo, as the demo needs to simplify the process of creation and I get to take my time when I’m creating the real app!
Resources
I Googled a LOT for this demo, and that was even after Josh and I had already presented it at Code One in 2018!
Spring & Spring Boot
- Spring Boot multi-module Maven project example
- Spring Documentation: Annotation-based Container Configuration
- Spring Profiles
- Create a Custom Auto-Configuration with Spring Boot
- Spring Boot 2.2.0.M6 (the release I used to put together the demo)
- Logging in Spring Boot
- Spring Boot 2 With JUnit 5 and Mockito 2 for Unit, Integration Testing
REST & Reactive Web
- Build Reactive APIs with Spring WebFlux
- Flux Sharing in Project Reactor: From One to Many
- Reactive Programming with Reactor 3
- Reactive Spring: Define a REST Endpoint as a Continuous Stream
- Using WebSocket to build an interactive web application
- Reactive WebSockets with Spring 5
RSocket
- Give REST a Rest with RSocket
- Spring Tips: RSocket Messaging in Spring Boot 2.2 (video)
- Reactive streams over the network with RSocket
- Using RSocket with Spring Boot
- Spring Boot Documentation: RSocket
- SO: Rsocket Server exception: No handler for destination “ (destination does not pass from client to server)
- R(eactive)Socket: Bootified
- RSocket Using Spring Boot
JavaFX
- Let Spring Be Your JavaFX Controller Factory
- Spring Tips: JavaFX (video) - Josh Long covers some of our original version of this presentation in his Spring Tips. There’s much more detail here about how to integrate JavaFX into Spring
- Getting Started with JavaFX 13 (I actually use an early access build of 14 in the demo)
- JavaFX Line Chart example
Kotlin
- Kotlin Functions
- SO: Kotlin asterisk operator before the variable name or Spread Operator in Kotlin
- Kotlin compiler plugins for Spring
NOTE: At the time of writing, the video of this demo is currently unavailable.
Published at DZone with permission of Trisha Gee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments