Real SATSA devices are likely to have one or more slots that house smart cards. Applications that use SATSA to communicate with smart cards need to specify a slot and a card application.
The Java ME Platform SDK emulator is not a real device and, therefore, does not have physical slots for smart cards. Instead, it communicates with a smart card application using a socket protocol. The other end of the socket might be a smart card simulator or it might be a proxy that talks with real smart card hardware.
The Java ME Platform SDK emulator includes two simulated smart card slots. Each slot has an associated socket that represents one end of the protocol that is used to communicate with smart card applications.
The default ports are 9025 for slot 0 and 9026 for slot 1. These port defaults are a property of the device. To alter the defaults, go to the device directory:
Mac OSUsers/uname/Library/Application Support/javame-sdk/3.0/work/emulator-instance
Edit the device.properties file and modify this line:
runtime.internal.com.sun.io.j2me.apdu.hostsandports = localhost:9025,localhost:9026