The CLDC/MIDP platform implements the Mobile Information Device Profile and Connected Limited Device Configuration (JSRs 118 and 139). See CLDC Projects.
The JAR file includes the Java classes for each MIDlet in the suite, Java classes shared between MIDlets, resource files, and other supporting files. The JAR file also includes a manifest describing the JAR contents and specifying attributes the application management software (AMS) uses to identify and install the MIDlet suite.
When the application is run, the name of the main application class is passed to the Java virtual machine. This class must include a method named main() that handles the application’s class loading, object creation, and method execution. The project manages its own life cycle and system resource needs. When the main() method exits, the application terminates.