Awesome
NXTBeeFX
JavaFX based application for Raspberry Pi, to control remotely a Lego Mindstorm NXT via XBee
Read full description here: http://jperedadnr.blogspot.com.es/2013/01/nxtbeefx-javafx-based-app-for-raspberry.html
REQUIREMENTS
A Raspberry Pi Model B is required, with hard float Raspbian Wheezy image and jdk1.8.0 Early Access.
A XBee should be plugged via XBee Explorer to USB port.
GPIO pins are used through Pi4J library.
Also, you'll need a Lego Mindstorms NXT 2.0 kit with leJOS firmware and software.
Also you need this program running on the NXT: https://github.com/jperedadnr/NXTBeeNXT
A NXTBee adapter is required to plug a XBee antenna in port 4 of the NXT.