×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    22

    Cool what's the difference

    hi every body ...
    what is the difference between the (CLDC 1.0) and (CLDC 1.1)
    in another meaning what the new version provides for a j2me programer

    thanks

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: what's the difference

    Some of the new features in CLDC 1.1 include:

    * Floating-point support, including the classes Float and Double, and methods such as sin, cos, and tan
    * Addition of weak references
    * Thread.getName(), NoClassDefFoundError, Boolean.TRUE, Boolean.FALSE, and other minor changes
    * Improved Calendar, Date and TimeZone
    * Memory budget raised from 160 KB to 192 KB

    Ref: http://www-128.ibm.com/developerwork...brary/wi-prep/

    Hope this helps!

    Regards
    Gopal

  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    62

    Re: what's the difference

    hi gopal,

    what is meant by weakrefference?


    rakesh

  4. #4
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: what's the difference

    hi rak_eshz,

    weak references are a subset
    of the J2SE weak reference classes..

    Have a look at this site

    http://developer.sonyericsson.com/si...0301_z1010.jsp


    Thanks
    Soku

  5. #5
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: what's the difference

    Hi,


    "java.lang.ref " is added only to the CDC package and not to the CLDC api package. It has to do with CDC(PDA & Smart phone) and not to the CLDC (mobile devices)

    i think the discussions and api packages mentioned in the following article is helpful to you

    http://www.developer.com/ws/article.php/10927_1475521_2


    Wang

  6. #6
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: what's the difference

    Quote Originally Posted by rak_eshz
    hi gopal,

    what is meant by weakrefference?


    rakesh
    * java.lang.ref.WeakReference

    This class provides support for weak references. Weak references are most often used to implement canonicalizing mappings. Suppose that the garbage collector determines at a certain point in time that an object is weakly reachable. At that time it will atomically clear all the weak references to that object and all weak references to any other weakly- reachable objects from which that object is reachable through a chain of strong and weak references.

    Ref:http://www.cs.kent.ac.uk/teaching/05...Reference.html

    Hope this helps!

    Regards
    Gopal

  7. #7
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: what's the difference

    [QUOTE=wang_shui]Hi,


    "java.lang.ref " is added only to the CDC package and not to the CLDC api package. It has to do with CDC(PDA & Smart phone) and not to the CLDC (mobile devices)

    Hi,
    "java.lang.ref " is supporetd also by CLDC package.It is supported since JDK1.2 and CLDC 1.1.

    Thanks
    Soku

  8. #8
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: what's the difference

    Hi,

    I was refering to the initial CDC ie; the "java.lang.ref " was present in the CDC but was not present in CLDC1.0. but it came to existence in CLDC 1.1.

    sorry for the confusion and thanks to Soku for correcting me.

    Wang

  9. #9
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: what's the difference

    That's definitely right Wang, CLDC 1.1 does include the WeakReference class.

    It's also required as an objective for the SCMAD exam. You can see the class by inspecting the contents of that cldcapi11.zip file included with Nokia tools/devices.

    BR,

    Juarez Junior
    Last edited by juarezjunior; 2006-05-25 at 14:36.

Similar Threads

  1. time difference conversion
    By plmanikandan in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-03-01, 16:26
  2. What's the difference between RFCOMM and L2CAP?
    By iyxm2000 in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-02-05, 03:50
  3. Difference between Concept SDK and normal SDK?
    By csernap in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-06-08, 08:21
  4. Replies: 0
    Last Post: 2004-03-20, 03:21
  5. What's the difference between series 30 and series 40?
    By Nokia_Archive in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-27, 15:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •