I am new Java card development and I want to know how to handle transactions when power is lost during a transaction. I want to know is there way to reset internally when power is lost or remove java card from card terminal. In my Java card applet I unsuccessfully tried:
JCSystem.beginTransaction();
JCSystem.commitTransaction();
Util.arrayCopyNonAtomic();
Is there any other way to do it?
Thanks Sajith