As per the sun's specification its given that MIDP integrate with CLDC to provides a complete J2METM application runtime environment targeted at mobile information devices, such as mobile phones and entry level PDAs.
my question is.
1)whats the role of MIDP and CLDC
2) How do they 2 integrate with each other
thanks and regards,
CLDC is a base configuration (CDC is the other). Particular profiles are built on top of CLDC or CDC. A profile will include everything specified in the configuration on which it is based. Configurations are general in what they specify, as such the generally do not include much specification of I/O, which is device specific.
MIDP is based on CLDC.
A configuration is a specification that defines a minimum Java Platform functionality for a "family of devices." A configuration is intended to cover a broad range of devices. It defines the minimum number of Java libraries, VM capabilities and a security specification that governs the behavior of Java applications running on a given device or a family of devices.
A profile is a collection of Java APIs that supplement a configuration to provide capabilities for a specific device group or market type. Examples of such groups are cell phones, two-way pagers and PDAs.
Connected Limited Device Configuration (CLDC)
One of the earliest configurations for J2ME was the Connected Limited Device Configuration (CLDC). The CLDC targets devices that have:
Total memory of 160 to 512KB
Limited and intermittent connectivity
Constrained user interfaces
Mobile Information Device Profile (MIDP)
Mobile Information Device Profile (MIDP), currently in version 1.0, targets devices that implement CLDC; it provides:
Display toolkit APIs and input methods
HTTP-based networking using the Generic Connection Framework found in CLDC
Persistent data storage APIs
The remainder of the article will deal primarily with writing applications using MIDP APIs.
Thus, CLDC is a minimum Java Platform and MIDP is a set of API.