Java Micro Edition

JavaMicroEdition is an edition of the Java platform that is tailored toward the needs of non-desktop computing, such as on consumer, mobile, and embedded devices. See http://java.sun.com/j2me/.

JavaMicroEdition (or Java ME) is simply a rebranding of the Java 2 Platform, Micro Edition (J2ME). This rebranding was announced at the JavaOne conference in 2005. This will take some time; many materials still refer to J2ME.

In order to accommodate the broad range of application areas, the technology has been classified according to three concepts:

These concepts in turn have been assembled into three main "stacks" of APIs: More information about these stacks can be found on the page http://java.sun.com/j2me/.

Currently (November 2005) a great deal of activity is currently occurring in the "mobile services architecture" (MSA) JSRs, JSR-248 and JSR-249. These JSRs group together configurations, profiles, and optional package specifications, and clarify the specifications, with the intent of creating a unified application environment for mobile handsets. JSR-248 applies to the CLDC stack, and JSR-249 applies to the CDC stack. See http://www.jcp.org/en/jsr/detail?id=248 and http://www.jcp.org/en/jsr/detail?id=249 for more information about these efforts.

The PDA Profile was turned into the PDA Optional Packages. It delivered two API libraries: one for filesystem access and the other for PIM (address-book, calendar, and to-do) database access. The RMI Profile was turned into the RMI Optional Package.

-- StuartMarks


WhatHappened? Is the following information still useful for developers in late 2005?

Are there good support for JavaMicroEdition by EclipseIde, in a manner that is vendor neutral? Can JavaMicroEdition compliant software consume services provided by MicrosoftDotNet? What references exist?

Moved from JavaTwoMicroEdition

J2ME is not actually one software platform, but several: basically all Sun Java platforms smaller than JavaTwoStandardEdition? (the version we use on desktop machines and in e.g. NetscapeNavigator).

Pre-existing platforms that fit within J2ME include:

But the new approach is to structure J2ME as 'Configurations' (JVM + fundamental API set) upon which are layered 'Profiles' (extended API sets suiting a particular class of device).

There are currently two Configurations, with associated Profiles:

Further clarification (and fixes) appreciated!

Contributors for JavaTwoMicroEdition: DavidPrice


Resources

For some reason a lot of ApplicationDevelopment links I have found are done around 2002, and nothing for 2004 and 2005.


Trying to run the sun J2ME converter for palm to create .prc files from the jar file it says the .jad and .jar don't match. It seems you are expected to run the build.bat to make the .jar from .jad (this is on windows) which is separate from the "build" button on the KToolbar (which only makes a .jad file). If you look in for example c:\wtk22\apps\demos\bin you'll see what I mean. Then you are expected to manually edit the .jad file to put what the file size of the .jar is before the converter will work. Why couldn't the "build" button on the KToolbar just do the whole process? These are the latest versions just downloaded. I made a little program read the file size and update the .jad, but surely that is not the SimplestThingThatCouldPossiblyWork ? Is there some other setting I am missing?

Try the Project > Package > Create Package menu option. It's a little odd that the "build" button compiles the classes and updates the .jad but leaves the old .jar in place. Using the "Create Package" command should create a fresh .jar and update the .jad to match. -- StuartMarks


CategoryJava CategoryJavaPlatform


EditText of this page (last edited July 27, 2010) or FindPage with title or text search