wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes CLDC Specification Doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "CLDC Specification Doubts" Watch "CLDC Specification Doubts" New topic

CLDC Specification Doubts

Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
Howdi There Ranchers !

I've been trying to dive into programming for small devices, so I started where I figured would be best, By digging in some theory.
So I wish someone could answer me a really transcendental question I have..

This is what I understand so far:

CLDC provides the basic set of APIs to do JME programming and

CLDC provides a Virtual Machine (or virtual machine capabilities)

So, My question is:

How exactly is the VM provided by CLDC?

I don't get it, since I thought APIs were an entirely different thing from the VM.
So, that's the the right question for me: How is it that the VM is specified or provided by CLDC?
And what if it applies would be in this case, the term: "specifies"?; What does it mean?

I hope you guys can give me a hand, I'm just gettin' started.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959

Technically, CLDC is the spec, and it's implemented by a vendor/manufacturer-supplied JVM. Usually the JVM comes with the device, though IBM makes a J2ME VM (Websphere Anywhere) that can be added to devices that are compliant with its needs.

Most phone vendors that support J2ME will detail the specific levels and features that their devices incorporate and typicvally also have a developer program that included resources and an emulator implementation. Sun provides the archetypical emulator if you haven't yet picked a hardware platform.

Customer surveys are for companies who didn't pay proper attention to begin with.
Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
Good day to everyone,
Hello Mr. Tim.

I present to you my most sincere gratitude for your kind reply.
However, I feel I still haven't understood the concept completely.
Quoting what you said earlier: "CLDC is the spec". Could please tell me, sir, What exactly qualifies as a spec?

Correct If I'm wrong: according to me: CLDC are the hardware minimal requirements to implement a JVM, in this case the KVM. Am I correct?

Then how come CLDC is software you can download from SUN?

Thank you very much,
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959

Have you visited this page: http://java.sun.com/products/cldc/ ?

Among other things, you can use this page to locate and download Sun's Reference Implementation of CLDC.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: CLDC Specification Doubts
Similar Threads
Color settings in a List
Java Virtual Machine
simple question,what is the difference between MIDP and CLDC?
Doubt in security