A script enabled browser is required for this page to function properly.
Exit Print View

Oracle® Java Micro Edition Embedded Client Reference Guide, Version 1.0

Get PDF Book Print View
 

Document Information

Preface

Part I  Developer Guide

1.  Introduction

1.1 Software Overview

1.2 Target Device Hardware Components

1.2.1 Microprocessor Requirements

1.2.2 I/O and Peripheral Requirements

1.2.2.1 Input Ports for Flash Updating

1.2.2.2 I/O Ports for Data

1.2.2.3 Graphics Output Ports

1.2.3 Memory Requirements

1.2.3.1 RAM

1.2.3.2 ROM and Flash

1.3 Target Device Software Components

1.3.1 Operating System

2.  Execution

3.  Developing Applications

Part II  Java Virtual Machine Reference

4.  Java Virtual Machine Capabilities

5.  Internal Memory Allocator

6.  Threading

7.  Internationalization

8.  External PBP Porting Layer Plugin

Part III  Working Without An IDE

A.  Legacy Tools

Index

Chapter 1

Introduction

Oracle Java Micro Edition Embedded Client (Oracle Java ME Embedded Client) provides the Java ME platform for embedded devices. Oracle Java ME Embedded Client is based on Connected Device Configuration (CDC) technologies and caters to a wide range of embedded application and middleware needs, ranging from TV set-top boxes to VoIP phones. Oracle Java ME Embedded Client can also support various embedded platforms, such as e-book Readers, multi-functional peripheral devices, smart electric metering devices, and Blu-Ray Disc players.

1.1 Software Overview

Oracle Java Micro Edition Embedded Client provides a platform for running applications written in the Java programming language. This platform, combined with GUI elements, provides rich, robust, and scalable application domains.

Embedded Client components

The Oracle Java Micro Edition Embedded Client needs specific drivers and software to host the Java technologies on embedded devices. It is based on several layers of software:

The Oracle Java ME Embedded Client environment includes the following Java technologies:

The Oracle Java ME Embedded Client environment can support various media formats, codecs and streaming technologies, as detailed in the the rest of this chapter.

1.2 Target Device Hardware Components

These subsections outline some of the typical base requirements and features to support the Oracle Java Micro Edition Embedded Client on an embedded environment.

1.2.1 Microprocessor Requirements

Oracle Java ME Embedded Client uses the Oracle JIT (Just In Time) compiler technology, CDC-Hotspot Implementation. Ports for this virtual machine are available on numerous microprocessors. It performs best on 32-bit RISC-based microprocessors (MIPS, ARM, PowerPC, SPARC and others) and 32-bit Intel x86 microprocessor. Typical clock speeds vary from low-end devices (150-200 megahertz) to mid-range devices (300 megahertz) and faster.

1.2.2 I/O and Peripheral Requirements

This section provides a basic breakdown of core device peripherals and I/O support characteristics.

1.2.2.1 Input Ports for Flash Updating

Serial ports may be included on device but are typically only used for in factory device setup and configuration and are not accessible by developers or end users. This input mechanism can be used to flash upgrade the device.

1.2.2.2 I/O Ports for Data

An ethernet port is required for the Java networking functionality.

Typically, IR ports are also available to support input events from remote control keypads for TV and media platforms. Some devices also support USB ports for writing to flash memory or to support extra peripheral devices (camera connection or full keyboard).

1.2.2.3 Graphics Output Ports

Java represents each graphics pixel as 32 bits (ARGB) but lower color-depth displays can be supported, down to monochrome (1-bit).

1.2.3 Memory Requirements

The Oracle Java ME Embedded Client is designed to run on memory constrained devices. Oracle’s CDC HotSpot implementation virtual machine by itself with core CDC classes (headless) takes less than 5.5 megabytes of ROM with an additional requirement of 1.5 megabytes if internationalization is required.

1.2.3.1 RAM

Usage of RAM typically depends on the Java application being executed. An average use case for graphics applications can require up to 32 megabytes of RAM. The memory requirement would be less in the case of non-graphics applications. This typically implies a device with 64 megabytes of physical RAM when graphics use cases are required. A larger amount of RAM might be needed to support applications with large Java heap requirements. Smaller, non-graphics applications can require as little as 4MB RAM or less.

1.2.3.2 ROM and Flash

Oracle Java ME Embedded Client requires close to 5 megabytes of ROM. An additional 1.5 megabytes is required for internationalization support.

1.3 Target Device Software Components

This section discusses the basic components required to support the Oracle Java Micro Edition Embedded Client in an embedded environment.

1.3.1 Operating System

Oracle’s CDC HotSpot Implementation virtual machine runs on numerous operating systems, including Unix and Linux variants and other well known commercial offerings. Oracle Java ME Embedded Client is optimized for a Linux host OS and Windows XP OS. When the specific target device uses a proprietary operating system, the basic requirements to support Connected Device Configuration and Foundation Profile are as follows: