~/talk

Lesson learned from Java modules and Robo4j

Talkat JCON EUROPE 2025 · 2025-05-12..05-15· [java]
slides:none on file

Robo4j and Pi4J are fully modularized so the build uses the module path and jlink to produce tiny deterministic JVM images; the project runs on multiple Raspberry Pis, discovers units over the network, and drives hardware (demo writes to an LCD across 3 units) while a pool of 10 worker threads processes parallel sensor streams. Monitoring uses Grafana; automatic modules let non-modular libs run initially; migration tips include fixing illegal access at compile time and preferring one-directional dependencies to avoid classpath surprises. Performance claims: Java can be as fast as native C in these robotics scenarios.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:33Evolution and technology shifts
  3. 7:08Encapsulation and complexity
  4. 13:17Robo4J vision and planning
  5. 15:45Threading and sensor integration
  6. 17:53Patterns in software development
  7. 20:03Java module system requirements
  8. 22:53Class path vs module path
  9. 26:03Module system benefits
  10. 29:15Modularization strategy
  11. 32:03Automatic modules
  12. 33:52Demo: Module visualization
  13. 35:37Demo: LCD panel output
  14. 36:43Demo: Monitoring system
  15. 37:45Demo: Multi-threaded servos
  16. 40:19Conclusion and future outlook
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.