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
CLDC target devices typically have the following capabilities:
■A
■At least 160 kilobytes of
■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
CDC target devices typically have the following capabilities:
■A
■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