This book contains tips and guidelines for applet developers and for developers of vendor-specific frameworks.
Java Card technology combines a subset of the Java programming language with a runtime environment optimized for smart cards and similar small-memory embedded devices. The goal of Java Card technology is to bring many of the benefits of the Java programming language 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).
This book is for applet developers using the Application Programming Interface for the Java Card Platform, Version 2.2.2 to implement applet management, multiselectable applets, logical channels, APDU I/O, Remote Method Invocation (RMI), and extended APDUs for the Java Card platform.
This book is also for developers who are considering creating a vendor-specific framework based on version 2.2.2 of the Java Card technology specifications.
Before reading this guide, become 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 must also be familiar with the development tools released with version 2.2.2 of the Java Card platform. For information on these tools, see the Development Kit User's Guide, Java Card Platform, Version 2.2.2.
Chapter 1 describes how to perform object deletion, applet deletion, and package deletion on the Java Card platform.
Chapter 2 describes how to create and use applets that can be selected for use on multiple channels on the Java Card platform.
Chapter 3 describes how to use APDU I/O to create and use applets.
Chapter 4 describes how to develop applications that use RMI on the Java Card platform.
Chapter 5 describes how to handle extended APDU functionality on the Java Card platform.
References to various documents or products are made in this manual. Have the following documents available:
Version 2.2.2 of the Development Kit User's Guide and the Java Card specifications are included in this development kit for the binary release. You can also download the identical specifications bundle separately from the Sun Microsystems' web site at
The following table lists the typographic conventions used in this book.
Access Java platform technical documentation on the web at the Java Developer Connection program web site at:
We are interested in improving our documentation and welcome your comments and suggestions. Email your comments to us at firstname.lastname@example.org.