Be sure to read the license for GlovePIE. It's interesting, shall we say. It was enough to put me off. I'm using Wiinstrument (from screenfashion.org) to go from Wii to MIDI. There's a Java library called Wiiremotej, which you might like too. Have not tried that yet.