What is the scope of a transaction?

Julien SIMON

Only a successful call to JCSystem.commitTransaction() will commit a transaction.

If a transaction is not explicitly committed, it will abort at the end of the process() method. This means that a transaction cannot span across multiple APDUs.

The current transaction will also abort if an exception is thrown, or if the transaction buffer is full.