Contents Previous Next Index


Java Card™ technology combines a subset of the Java™ programming language with a runtime environment optimized for smart cards and similar kinds of small-memory embedded devices. The goal of Java Card technology is to bring many of the benefits of Java software programming to the resource-constrained world of smart cards.

The Java Card API is compatible with international standards, such as ISO7816, and industry-specific standards, such as Europay/Master Card/Visa (EMV).

Who Should Use This Book

The Application Programming Notes for the Java Card™ Platform, Version 2.2.1 contains tips and guidelines for the applet developer who is using the Application Programming Interface for the Java Card™ Platform, Version 2.2.1 (Sun Microsystems, Inc., 2003) to implement applet management, multiselectable applets, logical channels and RMI for the Java Card platform. It is also for developers who are considering creating a vendor-specific framework based on version 2.2.1 of Java Card technology specifications.

Before You Read This Book

Before reading this guide, you should be familiar with the Java programming language, object-oriented design, the Java Card technology specifications, and smart card technology. A good resource for becoming familiar with Java and Java Card technology is the Sun Microsystems, Inc. Web site, located at:

You should also be familiar with the development tools released with version 2.2.1 of the Java Card platform. For information on these tools, see the Development Kit User’s Guide for the Java Card™ Platform, Version 2.2.1.

How This Book Is Organized

Chapter 1, "Using the Object Deletion Mechanism, and Package and Applet Deletion describes how you can perform object deletion, applet deletion, and package deletion on the Java Card platform.

Chapter 2, "Working with Logical Channels describes how to create and use applets that can be selected for use on multiple channels on the Java Card platform.

Chapter 3, "Developing RMI Applications for the Java Card Platform describes how to develop applications that use RMI on the Java Card platform.

Related Books

References to various documents or products are made in this manual. You should have the following documents available:

You can download version 2.2.1 of the Java Card specifications from Sun’s web site:

Typographic Conventions

The names of commands, files, and directories; on-screen computer output
Edit your .login file.
Use ls -a to list all files.
% You have mail.
What you type, when contrasted with on-screen computer output
% su
  1. Run cref in a new window.
Book titles, new words or terms, words to be emphasized
Command-line variable; replace with a real name or value
Read Chapter 6 in the User’s Guide.
These are called class options.
You must be superuser to do this.
To delete a file, type rm filename.

Accessing Sun Documentation Online

The Java Developer Connectionsm web site enables you to access Java platform technical documentation on the Web:

Sun Welcomes Your Comments

We are interested in improving our documentation and welcome your comments and suggestions. You can email your comments to us at:


Contents Previous Next Index Application Programming Notes
Java Card Platform, Version 2.2.1