Last updated
The Java 2 Platform, Micro Edition, Foundation Profile is a J2ME Connected Device Configuration (CDC) profile. This profile is intended to be used by devices requiring a complete implementation of the Java virtual machine up to and including the entire Java 2 Platform, Standard Edition API. Typical implementations will use some subset of that API set depending on the additional profiles supported. This document describes the facilities that the J2ME Foundation Profile provides to the device and other J2ME profiles that use it. This specification was developed under the Java Community Process. More information on the Java Community Process is available at http://java.sun.com/jcp.
This specification lists classes from both the CDC and Foundation specifications. Click below for a list of classes specific to Foundation alone:
List of foundation-only classes
All the classes in this specification that are not explicitly listed in the list of Foundation Profile classes are from the CDC specification. These are provided as reference only, and cannot be regarded as a specification or part of it. For the full set of CDC classes, please see the official CDC specification.
An implementation of the J2ME Foundation Profile requires full support for the Java programming language as defined in the The Java Language Specification which can be found at http://java.sun.com/docs/books/jls/index.html. The specification is also published in book form by Addison-Wesley, ISBN 0-201-63451-1.
An implementation of the J2ME Foundation Profile requires full support for the Java virtual machine as defined in The Java Virtual Machine Specification which can be found at http://java.sun.com/docs/books/vmspec/index.html. The specification is also published in book form by Addison-Wesley, ISBN 0-201-43294-3.
An implementation of the J2ME Foundation Profile must meet the complete J2ME CDC Additional Virtual Machine Requirements. (See the J2ME CDC Specification for more information).
The Foundation Profile is build on the J2ME CDC API which is based primarily on the J2SE 1.3 API. The APIs in this specification must follow the strict conformance of the "J2ME Configurations and Profiles Architecture Specification".
An implementation of the J2ME Foundation Profile must meet the complete J2ME CDC Relationship to the CLDC Specification Requirements. (See the J2ME CDC Specification for more information).
An implementation of the J2ME Foundation Profile must meet the complete J2ME CDC Definition of Process Model Support. (See the J2ME CDC Specification for more information).
The following connection protocols must be supported:
The Generic Connection Framework of J2ME Foundation Profile must behave as defined below for the following protocols: 1. All protocols as defined by the J2ME CDC specification regarding the Generic Connection Framework. 2. TCP/IP Socket with the format "socket://[{host}]:{port}" must return an object with behavior that follows the javax.microedition.io.StreamConnection interface specification. The streams provided by this connection are functionally equivalent to the streams provided by the java.net.Socket class when the Socket(String, int) constructor is used and no socket options are set. 3. HTTP as defined by the Mobile Information Device Profile (MIDP) javax.microedition.io.HttpConnection interface with the format that follows the MIDP javax.microedition.io.HttpConnection URL specification and must return an object with behavior that follows the javax.microedition.io.HttpConnection interface specification.
The following locale must be supported:
The following encodings must be supported: