|
By Richard Marejka, November 2004
|
|
|
Question
What package names are defined in the J2ME environment?
Answer
The J2ME environment introduces a number of Java packages.
These are almost exclusively placed into the package javax.microedition.
The few exceptions are technologies that could be used in one or more other editions of the
Java platform as well.
For example, because you might use Bluetooth technology in either J2ME or J2SE, the Java APIs
for Bluetooth specification (JSR 82) uses the package names javax.bluetooth and
javax.obex.
The table shows the package names specified by the J2ME JSRs, as defined by the
Java Community Process (JCP).
It includes only JSRs that are in the final, public review, proposed final, and public review states,
as defined by JCP.
Packages that have been adopted from other Java technologies are not shown.
For instance, CLDC 1.0 (JSR 30) includes items from the java.lang,
java.io and java.util packages.
 |
1 |
Realtime |
javax.realtime
|
30 |
CLDC 1.0 |
javax.microedition.io
|
36 |
CDC 1.0 |
javax.microedition.io
|
37 |
MIDP 1.0 |
javax.microedition.io
javax.microedition.lcdui
javax.microedition.midlet
javax.microedition.rms
|
62 |
Personal Profile |
javax.microedition.xlet
javax.microedition.xlet.ixc
|
75 |
PDA Optional |
javax.microedition.pim
javax.microedition.file
|
80¹ |
USB API |
java.usb
|
82 |
Bluetooth |
javax.bluetooth
javax.obex
|
113² |
Speech API |
javax.speech
|
118 |
MIDP 2.0 |
javax.microedition.io
javax.microedition.lcdui
javax.microedition.game
javax.microedition.media
javax.microedition.media.control
javax.microedition.midlet
javax.microedition.pki
javax.microedition.rms
|
120 |
WMA 1.0 |
javax.microedition.io
javax.wireless.messaging
|
129 |
Personal Basis Profile |
javax.microedition.xlet
javax.microedition.xlet.ixc
|
135 |
MMAPI 1.0 |
javax.microedition.media
javax.microedition.media.control
javax.microedition.media.protocol
|
139 |
CLDC 1.1 |
javax.microedition.io
|
177 |
Security and Trust Services API |
javax.microedition.apdu
javax.microedition.jcrmi
javax.microedition.pki
javax.microedition.securityservice
javax.microedition.io
javacard.framework
javacard.framework.service
javacard.security
|
179 |
Location API |
javax.microedition.location
|
180 |
SIP API |
javax.microedition.sip
|
184 |
Mobile 3D Graphics API |
javax.microedtion.m3g
|
195 |
Information Module Profile |
javax.microedition.io
javax.microedition.midlet
javax.microedition.rms
|
205 |
WMA 2.0 |
javax.microedition.io
javax.wireless.messaging
|
211³ |
Content handler API |
javax.microedition.content
|
226¹ |
Scalable 2D Vector Graphics API |
javax.microedition.m2d
|
234¹ |
Advanced Multimedia Supplements |
javax.microedition.media
javax.microedition.media.control
javax.microedition.media.control.audio3d
javax.microedition.media.control.audioeffect
javax.microedition.media.control.camera
javax.microedition.media.control.imageeffect
javax.microedition.media.control.tuner
|
1 - JCP proposed final draft
2 - JCP community draft ballot
3 - JCP public review
All others - JCP final
You can find out more about the J2ME packages in the article
"A Survey of J2ME Today."
|