This application contains a single MIDlet, JCRMIMIDlet, which shows how to communicate with a card application using Java Card RMI, a card-friendly remote object protocol. As with some of the MIDlets in SATSADemos, you need to start up cref with an appropriate memory image.
Right-click on the project, select Properties, and choose Running. Enable Regular execution and check Specify the Security Domain. Choose maximum from the list.
Start cref from the SDK installation directory as follows:start bin\cref -p 9025 -i apps\SATSADemos\demo2.eeprom
Now run JCRMIMIDlet to see how your application can communicate with a distributed object on the card.