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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.