JTabulo is a java library that enables you to control GPIO, I2C, ... All calls are abstracted from the underlying hardware platform, so you'll be able to execute the same code on different platforms. Write your code and first run it on a Raspberry Pi, migrate later to BeagleBone Black, Cubieboard 2 or any other board and run your application without any code change!