 | 
OpenCCM
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
|
OpenCCM for PDA with JacORB Binary Installation
Installing OpenCCM for PDA with JacORB from CAB file
To install OpenCCM for PDA (with the free JacORB-2.1 product) binary distribution on a Windows Mobile device, execute the following steps:
- Download and copy the
openccm.CAB file on your Windows Mobile device from PC using ActiveSync, or download it directly on your PDA. Choose yes if it asked to execute the CAB file after download to automatically start the installation process. The default installation directory on the device is "\Program Files". By default, this binary distribution is configured to work with the IBM J9 PPRO10 Java Virtual Machine.
- Move to the OpenCCM installation directory (
OpenCCM_HOMEDIR) and launch the replace.bat script. This will generate the build directory in OpenCCM_HOMEDIR. This script allows to use OpenCCM command scripts directly from the Explorer on PDA. Note that if you change values in envi_OpenCCM_PDA.bat environment file (for instance the JVM parameter or the ORB_HOMEDIR value, you have to repeat this step to rebuild the OpenCCM command scripts with the new parameters.
- Next, to enjoy with OpenCCM, simply navigate to the generated
build directory and launch OpenCCM command scripts (e.g. ns_start.bat, jcs_start.bat). Note that the parameters defined in envi_OpenCCM_PDA.bat will be used as default arguments (e.g. NS.IOR, CS_NAME, etc.). To use dynamic parameters, you can use the DOS interpreter program to launch the scripts with arguments (e.g. for the jcs_start command, by entering in the DOS console the following command: jcs_start http://host.domain:host.port/NameService.IOR MyComponentServer).
Installing OpenCCM for PDA with JacORB from EXE file
The OpenCCM_Setup.exe file allows to install OpenCCM for PDA with JacORB-2.1 on a Windows Mobile device from the PC.
- Assuming your PDA is connected to the PC via an ActiveSync link, simply execute the
OpenCCM_Setup.exe file on the PC and follow the instructions. This will install the OpenCCM for PDA with JacORB distribution on the device exactly as for the CAB file.
- Move to the OpenCCM installation directory (
OpenCCM_HOMEDIR) and launch the replace.bat script. This will generate the build directory in OpenCCM_HOMEDIR. This script allows to use OpenCCM command scripts directly from the Explorer on PDA. Note that if you change values in envi_OpenCCM_PDA.bat environment file (for instance the JVM parameter or the ORB_HOMEDIR value, you have to repeat this step to rebuild the OpenCCM command scripts with the new parameters.
- Next, to enjoy with OpenCCM, simply navigate to the generated
build directory and launch OpenCCM command scripts (e.g. ns_start.bat, jcs_start.bat). Note that the parameters defined in envi_OpenCCM_PDA.bat will be used as default arguments (e.g. NS.IOR, CS_NAME, etc.). To use dynamic parameters, you can use the DOS interpreter program to launch the scripts and provide arguments (e.g. for the jcs_start command, by entering in the DOS console the following command: jcs_start http://host.domain:host.port/NameService.IOR MyComponentServer).
Changing default settings
To change default settings, simply open the OpenCCM/bin/envi_OpenCCM_PDA (.bat/.sh) environment script, set the
variables below and rebuild command scripts by launching the replace.bat script on device:
| Variable | Description | Example | Mandatory |
ORB_HOMEDIR | Path to the installed ORB on the device. | /Program Files/ORB/JacORB-2.1 | Yes |
OpenCCM_HOMEDIR | Path where OpenCCM will be
installed on the device. | /Program Files/OpenCCM | Yes |
OpenCCM_CONFIG_DIR | Path to the OpenCCM configuration
directory on the device. | /Temp/OpenCCM_CONFIG_DIR | Yes |
JVM
| Java Virtual Machine configuration on device |
"\Program Files\J9\PPRO10\bin\j9.exe" -jcl:ppro10 -classpath "\Program Files\J9\PPRO10\lib\ppro-ui.jar;%OpenCCM_CLASSPAth%"
| Yes |
Windows CE specific configuration parameters:
| Variable | Description | Example | Mandatory |
NS.IOR
|
The default CosNaming service host (Windows CE).
|
http://host.domain:8080/NameService.IOR
mcast://multicast_address_group/NameService.IOR
corbaloc::host.domain:2000/NameService
|
No
|
DCI.IOR
|
The default DCI Manager host (Windows CE).
|
http://host.domain:8080/DCI.IOR
mcast://multicast_address_group/DCI.IOR
corbaname::host.domain:2000/NameService#ctx/DefaultDCI
(ctx default value is OpenCCM/DCImanagers)
|
No
|
DCI_NAME
FACTORY_NAME
CS_NAME
NODE_NAME
ASSEMBLY_NAME
DEMO_NAME
|
Default CosNaming service registration parameters (Windows CE).
|
DCI_NAME=DefaultDCI
FACTORY_NAME=DefaultFactory
CS_NAME=ComponentServerMobile
NODE_NAME=MainNode
ASSEMBLY_NAME=MyAssembly
DEMO_NAME=MyApp.aar
|
No
|
ZIP_ARCHIVE
|
Path to CORBA Component Assembly archive to deploy (AAR) on device.
|
/archives
|
No
|
|  |