What is the difference between CLDC and MIDP for Java Mobile?
Asked Answered
W

2

5

Could anyone explain what the difference is between CLDC and MIDP?

White answered 1/3, 2010 at 3:15 Comment(0)
W
6

Java Mobile Edition has two different components.

The first, configuration, is the JVM and the core classes for running a virtual machine such as IO, collection classes, dates, strings, ext. CLDC is a configuration

The other, profile, contains classes for that are more utilities that are built on top of this, such as UI, encryption, persisting local data, ect. MIDP is a profile

White answered 1/3, 2010 at 5:9 Comment(1)
You could theorically run a different Profile on top of CLDC. Also, CLDC alone doesn't let you display anything on the mobile phone screen.Negron
P
2

J2ME technology is made up of two configurations: the Connected Limited Device Configuration(CLDC) and the Connected Device Configuration(CDC).

Connected Limited Device Configuration (CLDC) is for devices with very constrained resources, like 160-512 KB of memory, limited bandwidth connectivity and 16-bit or 32-bit processor. CLDC does not supports full featured Java virtual machine. It does not supports floating point numbers, Thread groups, Object finalization, JNI, reflection, User class loaders. Connected Device Configuration (CDC) is for devices with 2MB or more for Java platform, high bandwidth network connectivity and 32-bit processor. CDC supports a complete, full featured Java virtual machine.

Profit answered 23/5, 2014 at 11:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.