The mechanisms necessary to install an applet on smart cards using Java Card technology are embodied in an on-card component called the Installer.
To the CAD the Installer appears to be an applet. It has an AID, and it becomes the currently selected applet when this AID is successfully processed by a SELECT FILE command. Once selected on a logical channel, the Installer behaves in much the same way as any other applet, as follows: