The Foundation Profile is a Java ME 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 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 Foundation Profile provides to the device and other 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.
For a list of changes since the last specification release please use a tool like jdiff to generate differences between specifications.
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 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-31008-2.
An implementation of the 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/2nd-edition/html/VMSpecTOC.doc.html. The specification is also published in book form by Addison-Wesley, ISBN 0-201-43294-3.
An implementation of the Foundation Profile must meet the complete CDC Additional Virtual Machine Requirements. (See the CDC Specification for more information).
The Foundation Profile 1.1.2 is built on the CDC 1.1.2 API which is based primarily on the J2SE 1.4.2 API. The APIs in this specification must follow the strict conformance of the "Configurations and Profiles Architecture Specification".
An implementation of the Foundation Profile must meet the complete CDC Relationship to the CLDC Specification Requirements. (See the CDC Specification for more information).
An implementation of the Foundation Profile must meet the complete CDC Definition of Process Model Support. (See the CDC Specification for more information).
javax.microedition.io package overview: Protocol Support section.
javax.microedition.io package overview: Generic Connection Framework (GCF) Security Checks section.
A conformant implementation need only support loopback communication to the local host. IP network communication to external hosts is not required. If an implementation does not support IP network communication to external hosts, the system property
java.net.isRestricted must be set to
java.net.isRestricted is set to
true, then the APIs of the
java.microedition.io packages shall throw exceptions as specified (i.e.,
java.io.IOException and subclasses) at any point that external communication would be required, e.g., resolving a host name or establishing a connection.