Java application for a RFID-based payment system