Running Your Extended Applet Sample

Use the IDE to build and run the sample. When you click the Run Main Project button, the IDE starts the Java Card runtime environment, deploys the application to a device, and creates instances of the application on the device which a browser or client can access. The IDE uses the Packager and Off-Card Installer tools to create a package for the device, load the application on the device, and create instances of the application. By using the IDE, you do not have to start the Java Card runtime environment or run the Packager and Off-Card Installer tools as separate activities.

When the extended applet runs, it displays Default Device and build.xml(run) output in the IDE Output window. The output of an extended applet results in the opening of a connection to a localhost and the communication of a hexdecimal string.

See the Development Kit User’s Guide, Java Card Platform, Version 3.0.2 Connected Editon located in javacard\JCDK3.0.2_ConnectedEdition\docs of the NetBeans installation directory for a description of the Packager and Off-Card Installer tools used by the IDE.