Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how MIDP integrate with CLDC

 
Shailendra Kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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,
Shailendra
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the J2ME world, one size does not fit all. A cell phone is much more limited in power and memory and I/O options then, say, an ipaq; and both are different then a smaret toster, or a TV.
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.
--Mark
 
David Chan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can go to see the following URL:
http://www.sun.com/developers/evangcentral/totallytech/j2me.html


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 power
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.
Cheer,
David Chan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic