Java tutorials, experiments, and real-world projects by Frank Delporte, Java Champion, Technical Writer at Azul, and lead maintainer of Pi4J.

Whether you're running Java on a Raspberry Pi, building desktop UIs with JavaFX, exploring RISC-V single-board computers, or diving into JVM internals — you're in the right place.

Topics: Java, JavaFX, Lottie4J, Pi4J, Java on Single-Board Computers, and much more...

📘 Book: Getting Started with Java on the Raspberry Pi
🎙️ Foojay and other Podcasts
📺 Videos
🗣️ Presentations


A Spring REST and H2 database application on the Raspberry Pi

Java on Raspberry Pi

The “Pi” in the name of the Raspberry Pi refers to Python, but as a Java developer I love to know and experiment with the various Java frameworks I also use at work. Spring is the main one, and I wanted to develop a proof-of-concept application which provides REST API’s to store and retrieve sensor data with a database back-end on the Raspberry Pi.

Reactive Spring Flux data from a Pi

Trisha Gee (Coder, blogger, speaker, Developer Advocate at JetBrains, @trisha_gee), which I interviewed for “Chapter 4: Choosing an IDE”, and Josh Long (Spring Developer Advocate at Pivotal, @starbuxman) worked together on a blog series in which they showed the power of reactive data produced by a Spring application. Instead of repeating a REST call each time you want to get data from the server, you do one call which returns a continuous stream in which new data is pushed based on an interval.

Page 19 of 26