Foundation Profile, version 1.1.2

Introduction

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.

List of New Features

List of Changes Since Last Release

For a list of changes since the last specification release please use a tool like jdiff to generate differences between specifications.

List of classes

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.

Adherence to the Java Language 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.

Adherence to the Java Virtual Machine Specification

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.

Additional Virtual Machine Requirements

An implementation of the Foundation Profile must meet the complete CDC Additional Virtual Machine Requirements. (See the CDC Specification for more information).

Relationship to the J2SE 1.4.2 API Specification

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".

Relationship to the CLDC 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).

Definition of Process Model Support

An implementation of the Foundation Profile must meet the complete CDC Definition of Process Model Support. (See the CDC Specification for more information).

Protocol Support

See: javax.microedition.io package overview: Protocol Support section.

Generic Connection Framework (GCF) Security Checks

See: javax.microedition.io package overview: Generic Connection Framework (GCF) Security Checks section.

Character Encodings

The required character encodings are listed in the overview for:

Networking Support

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 true. If java.net.isRestricted is set to true, then the APIs of the java.net and 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.