Part II Java Virtual Machine Reference
4. Java Virtual Machine Capabilities
8. External PBP Porting Layer Plugin
Oracle Java Micro Edition Embedded Client is the foundation for software product development for many embedded client platforms. The client stack can be ported to other platforms on request. The client software can be modified or extended to provide the appropriate platform for Java applications or middleware. Applications and middleware can be designed and implemented by partners or third parties catering to end-user needs.
This section identifies the typical binary components of the Oracle Java ME Embedded Client. This reflects how the stack has been installed in various devices.
The Linux/x86 bundle (software development kit) contains prebuilt virtual machine binaries and classes for target devices as follows:
/docs /cdc-1_1_2-mrel-spec-jdoc /fp-1_1_2-mrel-spec-jdoc /j2me_rmiop-1_0-fr-spec /j2me_web_services-1_0-fr-spec-jdoc /jdbc_cdc-1_0-fr-doc /pbp-1_1_2-mrel-spec-jdoc /emulator-platform /bin emulator btclasses.zip /lib /profiler /lib /security /ext /fonts /zi /America /Asia /legal
The supported runtime parameters can be considered separately for the virtual machine and CDC and the supported profile.
To print the version, use the -version command option. The output is similar to the following:
Product: Oracle Java Micro Edition Embedded Client-1.0 (built on Profile: CDC 1.1.2 (JSR218) - FP 1.1.2 (JSR219) (SecOp 1.0) - PBP 1.1.2 (JSR217) - (RMI JSR66) - (JDBC JSR169) - (WebServices JSR172)- (Specification 1.1.2) - Toolkit: DirectFB (1.2) JVM: CVM rev (mixed mode)
A Personal Basis Profile implementation can also optionally provide partial support for a pointing device. The Personal Basis Profile specification states:
“If the property java.awt.MouseEvent.isRestricted is true, then the property java.awt.event.MouseEvent.supportLevel reports the level of mouse events generated by the implementation.” The following table describes the mouse events generated by the implementation based on the support level.
|
The following sections describe the various input mechanisms: standard keyboard, events outside the PBP specification, and mouse support.
Developers can query the particular key events supported, by querying the following runtime properties:
java.awt.event.KeyEvent.isRestricted
and
java.awt.event.KeyEvent.supportMask
Typical values are:
java.awt.event.KeyEvent.isRestricted =true java.awt.event.KeyEvent.supportMask=0x07
Hence the Oracle Java ME Embedded Client supports the following subset of key events that match typical remote control input capabilities:
VK_LEFT and VK_RIGHT VK_UP and VK_DOWN VK_0 through VK_9 VK_ENTER
Developers can determine the particular mouse events supported, by querying the following runtime properties:
java.awt.MouseEvent.isRestricted
and
java.awt.event.MouseEvent.supportLevel
Typical values are:
java.awt.MouseEvent.isRestricted=true java.awt.event.MouseEvent.supportLevel=0
The last value indicates that Oracle Java ME Embedded Client supports no mouse events.
ing HTML r