POS on Java