Packaging MIDlets

In order to create an actual MIDlet out of the bytecode classes and make them deployable to mobile devices, the classes need to be packaged into more convenient form. To package a MIDlet, you need to create a JAR (Java ARchive) file and an accompanying JAD (Java Application Descriptor) file to be used in MIDlet distribution. The role of these files in MIDlet deployment is shown in the picture below.

Figure: MIDlet installation process

For more detailed descriptions of the file types, see section JAR files and section JAD files.