Pi4J to easily work with the hardware of a Raspberry Pi with Java
What is Pi4J
This project is intended to provide a friendly object-oriented I/O API and implementation libraries for Java Programmers to access the full I/O capabilities of the Raspberry Pi platform. This project abstracts the low-level native integration and interrupt monitoring to enable Java programmers to focus on implementing their application business logic.
The creators of Pi4J or in the process of improving it and making it more up-to-date with the current state of Java. One step is bringing everything to Java 11.
Out of personal interest I created some test code extending it with a REST service and JavaFX interface.