ArrayViews Sample

The ArrayViews sample comes with the following three source files:

  • Applet ClientApplet
  • Library package MyShareable
  • Applet ServerApplet

Several techniques are demonstrated here:

  1. A client - server application (two separate applets) shares data using array views: Using this allows applications to access a certain part of an array as if it was a standalone array
  2. Usage of ShareableInterface for communication purposes
  3. Resource file contents using javacard.framework.Resources

Note:

The converter generates the application files one by one where the package MyShareable must be the first one to be converted, as it is needed for the other two applications as well.

This section contains: