How to store offline transaction data in Java Card
问题 I am new to Java Card development. I have created a Java Card applet for online payment.. But I couldn't find way to how to do offline transactions. I need to know how to store offline data (such as the balance) in Java Card. Is there any way to use file structure to store data? 回答1: For offline transactions it is required that you store the data in persistent memory. Moreover, updates to this persistent memory should be atomic . This means that if a transaction is in progress and there is a