Resource Limitations

Hardware resources on test devices are often limited. Resource constrained devices can quit operation when excess native resources are requested. The Framework can run tests on resource constrained target devices with limited available memory and persistent storage. When developing test suites for the Java ME technology device, the developer must be aware of device limitations such as the following and use the appropriate Framework resources:

Memory constraints of the device

Minimum requirements listed in the appropriate specification for profiles

Maximum number of connections (HTTP, SSL, or Socket TCP/IP) on the networking subsystem that can be open at any one time

Graphics and image subsystem limits

CLDC Target Device

The CLDC configuration provides a Java platform for network-connected devices that have limited processing power, memory, and graphical capability (such as, cellular phones, pagers, low-end personal organizers, and machine-to-machine equipment). CLDC can also be deployed in home appliances, TV set-top boxes, and point-of-sale terminals.

CLDC target devices typically have the following capabilities:

A 16-bit or 32-bit processor with a minimum clock speed of 16 megahertz

At least 160 kilobytes of non-volatile memory allocated for the CLDC libraries and virtual machine

At least 192 kilobytes of total memory available for the Java platform

Low power consumption, often operating on battery power

Connectivity to a network, often through an intermittent wireless connection with limited bandwidth

CDC Target Device

The CDC configuration provides a Java platform for network-connected consumer and embedded devices, including smart communicators, pagers, high-end PDAs, and set-top boxes.

CDC target devices typically have the following capabilities:

A 32-bit microprocessor or controller

2 megabytes of RAM available to the Java application environment

2.5 megabytes of ROM available to the Java application environment

Chapter 1 Introduction 5

Page 25
Image 25
Sun Microsystems 1.2 manual Resource Limitations, Cldc Target Device