C H A P T E R   3

Developing Java Card 3 Platform Applications

This chapter provides a brief description of the activities and Development Kit tools involved in developing applications for the Java Card 3 platform. If you are enabling classic applets to run on Connected Edition and Classic Edition cards, see Chapter 9.


Development Steps

The steps described in FIGURE 3-1 illustrate the sequence of activities completed by a developer when creating an application for the Java Card 3 platform. See the Application Programming Notes, Java Card Platform, Version 3.0.1, Connected Edition for additional, advanced information not provided in this guide about creating applications for the Java Card 3 platform.

FIGURE 3-1 Java Card 3 Platform Application Development

 

 

new art
 

1. Source files - Write the source code and create the descriptor files.

The Development Kit also provides sample application source code that developers can use in creating custom applications. See Chapter 4 for a description of the samples provided in the Development Kit.

2. Compile/build - Compile the source code.

See Chapter 6 for a description of using the Java Card 3 platform Compiler tool ( javacardc.bat ) as a stand-alone application.

3. Packager - Package the compiled source code.

See Chapter 7 for a description of using the Packager tool to create and validate application modules.

4. Off-Card Installer - Load the application and create instances on the card by using the Installer tool.

See Chapter 8 for a description of using the Off-Card Installer (Installer) tool and the associated on-card installer used to load an application module onto the card, create an instance of an application, delete (deactivate) an instance of an application, remove a module or application from the card, and display information about loaded applications and instances.

5. Browser/Client - Access the application on the card by using a client (browser or APDU tool).

See Chapter 10 for description of using the APDU tool to display command and response APDU commands on the console.