You Are Here:

Community: Wiki

This page was last modified on 26 September 2009, at 13:36.

CLDC

From Forum Nokia Wiki

Reviewer Approved   

Contents

Overview

The Connected Limited Device Configuration (CLDC) defines the base set of application programming interfaces and a virtual machine for resource-constrained devices like mobile phones in Java ME.

Over CLDC usually exists MIDP 1.0 or MIDP 2.0. It was developed under the Java Community Process as JSR 30 (CLDC 1.0) and JSR 139 (CLDC 1.1).

The Virtual Machine installed on the phone for this configuration usually has 100-160Kb.

Limitations

CLDC 1.0 did not support any form of floating point arithmetic (float or double Java types). This limitation was removed in CLDC 1.1.

See How to use floating point numbers in CLDC 1.0

Packages included

  • java.io
  • java.lang
  • java.util

Difference between CLDC 1.0 and CLDC 1.1

The list below summarizes the main differences between CLDC Specification versions 1.1 (JSR-139) and 1.0 (JSR-30):

  1. Floating point support.
    • All floating point byte codes are supported by CLDC 1.1.
    • Classes Float and Double have been added.
    • Various methods have been added to the other library classes to handle floating point values.
  2. Weak reference support (small subset of the J2SE weak reference classes.)
  3. Redesigned, more J2SE-compliant Calendar/Date/TimeZone classes.
  4. Error handling requirements have been clarified, and one new error class, NoClassDefFoundError, has been added.
  5. Various minor library changes and bug fixes, such as the addition of the following fields and methods:
    • Boolean.TRUE and Boolean.FALSE
    • String.intern()
    • Date.toString()
    • Random.nextInt(int n)
  6. Minimum memory budget raised from 160 to 192 kilobytes, mainly because of the added floating point functionality.
  7. Specification text tightened and obsolete subsections removed.
  8. Much more detailed verifier specification ("CLDC Byte Code Typechecker Specification") is provided as an appendix.

Links

http://java.sun.com/products/cldc/

http://jcp.org/aboutJava/communityprocess/review/jsr139/index.html

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fHttpE3aE2fE2fE78ishisniceplaceE2echatE2eruE2fimagesE253FX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ