Java POS system