Running the Samples
Before running the samples, please ensure you have read the Configuration Before Running the Samples section. The following sections describe the Java Card Development Kit samples in order of increasing complexity and provide procedures for running them:
-
Running the HelloWorld Sample from the Command Line - A minimal applet utilizing the simplest source code and meta-files that demonstrates the base structure of a Java Card applet that developers can use to develop, deploy, create, execute, delete, and unload a standalone module.
-
Running the Channels Sample from the Command Line - Demonstrates the use of logical channels, which allows selecting multiple applets at the same time.
-
Running the Utility Sample from the Command Line - Demonstrates the use of the utility APIs in an applet to simulate stock trading and portfolio management.
-
Running the Wallet Sample from the Command Line - Demonstrates a simplified cash card application.
-
Running the ObjectDeletion Sample from the Command Line - Demonstrates applet and package deletion and the object deletion mechanism that removes unreachable objects.
-
Running the SignatureMessageRecovery Sample from the Command Line - Demonstrates message recovery. This sample is only included in bundles with cryptography extensions.
-
Running the ArrayViews Sample from the Command Line - Demonstrates a client/server application sharing data using array views.