What are the available options for integrating with hardware interfaces with Java SE Embedded?
- I've noticed that the Java Comms API doesn't seem to have any recent activity, and is only provided for a small number of os+hw combinations.
- A number of community posts elsewhere recommend RXTX (http://rxtx.qbang.org/wiki/index.php/Main_Page) - it looks like this is limited to just serial or parallel ports though - is this correct? Is this widely used?
- I've noticed libraries like Pi4J (http://pi4j.com/) provide a great Java API to interact with the GPIO pins on the Raspberry Pi. This is a great approach if there is a library like this for the hardware platform you are running on, but if there isn't what are the alternatives? Do you have to write your own C shared libraries to integrate with the hardware, and then use this via JNI?