Examples Install Guide
Repository for all classic demonstrators of the OpenCCM Platform.
Amongst basic demos can be found the OMG's Dining Philosophers
This module does not require any modules to work properly, but it uses an OpenCCM Platform previously installed with its environment sourced. Note that the examples module is included in the checkout of the openccm-distrib.
The Examples module contains the following example applications :
|This illustrates a chat demonstration showing how client components use a facet
provided by a server component to display text and how the server component could
push events (all entered texts) to all clients.
|This is not a demonstration ; This is a repository for common files used by all demos.
|This illustrates a simple clients / server application showing how client
components could be connected by a receptacle to a facet provided by a server
|This illustrates a simple producer / consumers application showing how a
producer component could push events by an event source to a set of event
|This illustrates a simple clients / server-producer / consumers application
showing how a component can simultaneously be a server providing a facet and
a producer with an event source.
|This illustrates the philosopher's dinner with Philosopher, Fork and Observer
components. Philosophers try to acquire both forks to eat and publish events
with their state to observer components. This demo was used at
(Japan) and Orlando (USA) OMG Meetings to show interoperability between CCM
|This illustrates a file transfer application based on three component types.
Program components manage and send images to Channel components. Channel components
receive images from Programs and send these images to TV components. The TV components
are deployed on user's device and images are displayed and/or stored.
|This illustrates the classical Hello World application showing how
component-unaware clients could create a server component and use
a facet provided by this one.
|This is not a demonstration ; This is the documentation directory.
Each demonstration (except for the filetransfer demonstration) contains both monolithic based (deprecated) and CIDL based component implementations.
To compile a demonstration, do the following :
- Go to the associated directory.
Execute your pre-installed ANT:
This compiles both the monolithic based (deprecated) and CIDL based component implementations of each demonstration.
Results of Compilation
After compilation, demo directory contains new directories and files:
|class/|| ||All compiled Java classes.
|generated/|| ||Java files generated from DTDs or IDL files.
|archives/|| ||Contains both JAR, CAR and AAR files.
See the user's guide for usage instructions.