Contents Previous Next Index

Chapter   1

Introduction to the Development Kit for the Java Card Platform

The Development Kit for the Java Card platform (“Java Card Development Kit”) is a suite of tools for designing Java Card technology-based implementations and for developing applets based on the Application Programming Interface for the Java Card™ Platform, Version 2.2.1 .

CAP File Flow

As illustrated in FIGURE 1, the data flow starts with Java source being compiled and input to the Converter. The Converter tool can convert classes that comprise a Java package to a converted applet (CAP) or a Java Card technology-based Assembly (“Java Card Assembly”) file. A CAP file is a binary representation of converted Java package.

A Java Card Assembly file is a human-readable text representation of a converted package which you can use to aid testing and debugging. A Java Card Assembly file can also be used as input to the capgen tool to create a CAP file.

FIGURE 1  –  Java Card Platform Version 2.2.1 CAP Tool Architecture

This figure is described in the text.

Not shown in the figure is a utility called capdump, which produces a simple ASCII version of the CAP file to aid in debugging.

CAP files are processed by an off-card installer (scriptgen). This produces an APDU script file as input to the apdutool, which then sends APDUs to a Java Card RE implementation.

Any implementation of a Java Card RE contains a virtual machine (VM) for the Java Card platform (“Java Card virtual machine”), the Java Card Application Programming Interface (API) classes, and support services.

FIGURE 1 also illustrates other Java Card REs which may be available in other products. In this release, the only Java Card RE provided is written in the C programming language.


Contents Previous Next Index Development Kit User's Guide for the Binary Release with Cryptography Extensions
Java Card Platform, Version 2.2.1