|
OpenCCM
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
|
Examples User's Guide
-
Starting a demonstration
-
Stopping a demonstration
Starting a Demonstration
To start the demonstration, execute one of the following scripts:
Script | Description |
bin/start_java | The demonstration deployment is done by a Java program.
By default, this deploys the CIDL based component implementations.
|
bin/start_java --ots | The demonstration deployment is done
by a Java program and uses a transactional service.
|
bin/start_java --trace | The demonstration deployment is done
by a Java program and uses a trace service.
|
bin/start_java --trader | Starts the CosTrading service and deploys the demonstration.
|
bin/start_java --xml | The demonstration deployment is done by the ccm_deploy tool
and uses the CCM XML files from the META-INF/ directory.
|
bin/start_java --xml --trader | The demonstration deployment is done by the
ccm_deploy tool and uses the CCM XML files
from the META-INF/ directory. Moreover, the CosTrading
service will be started and used to register components
and homes.
|
bin/start_java --monolithic | The demonstration deployment is done by a Java program
and uses the monolithic based component implementations (deprecated).
|
bin/start_jish | The demonstration deployment is done by a
Java IDLscript engine.
|
bin/start_cssh | The demonstration deployment is done by a
CorbaScript engine.
|
Warning: bin/start_java --monolithic is deprecated but the
Component Implementation Framework allows you to implement components both
with the monolithic and segmented strategies.
Let's note that for the filetransfer demonstration,
the demonstration deployment is always done by the ccm_deploy tool.
Just type bin/start_java to start it
(--xml is implicit and not required here).
Let's note also that for the hello demonstration, you have also to do:
-
bin/install_java or
bin/install_java --ots (required bin/start_java --ots) or
bin/install_cssh or
bin/install_jish
-
bin/run_java or
bin/run_cssh or
bin/run_jish
Then, have fun with the demonstrations...
Let's note that to execute the demonstrations from
Java IDLscript or
CorbaScript,
it is required that these scripting engines are accessible through the
PATH environment variable.
Stopping a Demonstration
To stop the demonstration, execute respectively:
-
bin/stop_java ,
-
bin/stop_jish , or
-
bin/stop_cssh .
| |