Chapter 12. Step-by-Step Applet Development Guide

In previous chapters, you have seen code fragments of an electronic wallet applet. This chapter walks you through the process of creating such an applet. The development steps are detailed, from designing the applet through constructing its code. At the end, the chapter provides a discussion of error checking for an applet.

Design the Applet

As with any software application development, before sitting down and writing a Java Card applet, you should first go through a design phase. In this phase, you define the architecture of the applet in four steps:

  1. Specify the functions of the applet.

  2. Request and assign AIDs to both the applet ansd the package containing the applet classes.

  3. Design the class structure ...

Get Java Card™ Technology for Smart Cards now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.