J2ME Learning Notes (2) ----- J2ME Architecture Detailed

zhaozj2021-02-16  78

1. J2ME architecture detailed explanation

2Profile

2Configuration

2kvm (CVM)

2Host Operating System

1) Configuration ----- Because there is a big difference between the hardware platform supporting J2ME

I. There is a relatively high-end device, such as a TV set-top box, network TV, etc. ----- is relatively preferred, and relatively sufficient embedded devices in power supply

II. There are also low-end devices, such as mobile phones, pagers, PDAs, etc. ----- is an embedded device that is limited in operation.

III. In order to meet the development requirements of the above two major hardware, J2ME specifies the Configuration concept for hardware data processing power, storage capacity, network connection capabilities, etc., limited, limited, limited, limited power, limited power, limited electricity Among the Connected Limited Device Configuration (Configured CLDC) specifications, the Java virtual machine used by CLDC is called KVM (kiloby virtual machine).

The other device specifically specifically for the Connected Device Configuration (Configure CDC) specification. And the Java virtual machine used by the CDC is called CVM.

V.cdc, CLDC is only a basic set of functions to the most common configuration in various devices.

2) Profile ---- Although there is a CDC, CLDC, there is still a big difference between different devices. Thus, J2ME defines the concept of Profile on the basis of Configuration. Profile is a norm and API for a certain type of device. Here are two examples:

I. Application of mobile phone ----- J2ME defines a specialized Profile-MIDP (Mobile Information Device Profile)

II. Developed in PDA ----- J2ME also defines a PDAP (PDA PROFILE).

3) CLDC is a subset of CDC, because the resource constraint does not include all J2SE classes, and the CDC library also includes several new interfaces and classes for CDC.

4) Summary ----- Only a Configuration above Virtual Machine, and there are several profiles on the Configuration, so that it can effectively construct a perfect operating environment for a variety of different devices.

2. Some specific contents in the most widely used MIDP specification (architecture)

2MID profile

2CLDC Core Libraries

2kvm

2Host Operating System

1) API part

I. User Interface Support: Provided by the class package is javax.microedition.lcdui

II. Network Support: Provided by the class package is javax.microedition.io

III. Data Continuous Storage Support: Provided by the class package is javax.microedition.rmsi

IV. Other Expert Processing and Timer and other class support

2) Hardware part

I. Memory: 128KB stable memory for MIDP components; 8KB stable memory for data continuous storage; 32KB stable memory for virtual machines

II. Display: The screen size is 95 × 54 pixels, 1 color depth, the screen is as high as approximately 1: 1

III. Enter the device: keyboard, touch screen or both

IV. Network: Provides two-way, wireless, but may be intermittent communication functions in the case of limited bandwidth.

转载请注明原文地址:https://www.9cbs.com/read-12462.html

New Post(0)