The profile defines the type of devices supported by your application. Specifically, it adds domain-specific classes to the J2ME configuration to define certain uses for devices. Profiles are built on top of configurations. Two profiles have been defined for J2ME and are built on CLDC: KJava and Mobile Information Device Profile (MIDP). These profiles are geared toward smaller devices.
A skeleton profile on which you create your own profile, the Foundation Profile, is available for CDC. However, for this tutorial, we will focus only on profiles built on top of CLDC for smaller devices.
We will discuss both of these profiles in later sections and will build some sample applications using KJava and MIDP.