The J2ME alphabet soup

By Lamont Adams, Special to ZDNet Asia
Monday, July 01, 2002 12:01 PM

When Sun revamped its Java technology in an attempt to more closely match a developer's target platform, the Java platform was split into three specialized platforms: the Standard, Enterprise, and Micro Editions. The Micro Edition, or J2ME as it has since become known, was intended to offer a Java development platform specifically designed for low memory- and horsepower-challenged mobile devices.

On the surface, this would seem to be a good thing for developers hoping to leverage mobile computing for an application. However, the term "mobile devices" covers quite a bit of territory, including the traditional PDA, so-called smart phones, pagers, and even GPS units—all of which represent very different hardware configurations. Likewise, the marketplace for these devices is fragmented to the point that expecting compatibility between two devices from the same vendor, let alone devices from different vendors, is foolish in many cases.

Trying to serve this motley crew of devices with a single one-size-fits-all development platform would be impossible. So J2ME defines two types of specifications that operate hand in hand to provide a mobile Java platform: configurations and profiles. A veritable alphabet soup of configuration and profile specifications exists. Let's take a look at a few of them.

Configurations galore
J2ME handles the vastly different hardware capabilities of mobile devices through an abstraction known as a configuration. A J2ME configuration defines the virtual machine and low-level API that is made available on a particular device, providing the development foundation. Two primary configurations are in use, Connected Device Configuration (CDC) and Connected Limited Device Configuration (CLDC).

Connected Device Configuration
CDC is applicable for devices with relatively large amounts of memory and powerful processors. The CDC specification calls for a memory-optimized virtual machine, called the CVM that offers the same features as the standard JVM. According to Sun's documentation, the CDC is meant for higher-end devices such as newer PDAs, smart communication devices, and set-top TV boxes. To be supported by CDC, a device must have, at a minimum:

  • 2 MB of memory for the CVM and Java API libraries.
  • A 32-bit microprocessor or controller.
  • An available network connection, preferably high bandwidth

  • 2 Next 

    WORTHWHILE?

    0

    0 votes
    Save to my library  Save to My Library  
    Blog

    Talkback 0 comments

    There are currently no comments for this post.

    Use shades of gray to enhance scale in Excel

    Microsoft Office Suite

    Excel's palette is generous, but don't throw buckets of pigment all over your spreadsheets just because you can.


    Read more »


    Ultimate 2012 recovery site: the moon

    Blog thumbnail

    Have you seen the disaster movie "2012"? A friend from Control Risks and I did, and we reluctantly concluded we wouldn't be able to write off the cost of our..... by Nathaniel Forbes

    Read more »

    Tech Jobs Now!


    Tags

    1. antivirus
    2. apple ipod
    3. cnet networks inc.
    4. desktop
    5. e - mail
    6. hard drive
    7. intuit inc.
    8. mcafee inc.
    9. microsoft corp.
    10. microsoft windows
    11. microsoft windows vista
    12. microsoft windows xp
    13. norton co.
    14. pc
    15. performance
    16. security
    17. software
    18. tool
    19. web
    20. web site