Java Card Platform Simulator (cref)
The Java ME Platform SDK includes the Java Card Platform Simulator, which you can use to simulate smart cards in the Java ME Platform SDK emulator’s slots. The Java Card Platform Simulator is found in the following location:
installdir\bin\cref.exe.
Hereafter we refer to it as simply cref. The basic procedure for testing SATSA applications with the Java ME Platform SDK is as follows:
-
Start cref with a Java Card platform application.
-
Start the emulator.
When a SATSA application attempts to communicate with a smart card, it uses a socket connection to communicate with cref.
For example, to run cref on port 9025 with a prebuilt memory image, use a command line similar to this:
start cref -p 9025 -i memory_image.eeprom
The Java ME Platform SDK includes a demonstration application, Mohair, which illustrates how to use SATSA. For detailed instructions on running Mohair, see .