Ardwloop is an open source Java framework easing the control of an Arduino program from a Java
program.
From both sides the Java and the Arduino programs would typically need to firstly handshake each other and then
exchange data on a regular basis.
The entire source code is available in the Github repository.