Consortium    Solutions    Middleware    Forge    MyObjectWeb 
ObjectWeb Consortium
Print

Advanced - Powered by Google






OpenCCM

Project Links
· Home
· Download
· Documentation
· Mailing Lists
· Wiki
· Partners
· License
· History
· Related projects

Developers' Corner
· How to Contribute
· Workplan
· Resources
· CVS Repository
· Bug Tracking
· ObjectWeb Forge Site
· User Mailing List
· Team Mailing List

About
· Team
· Contacts

Examples Install Guide

Repository for all classic demonstrators of the OpenCCM Platform. Amongst basic demos can be found the OMG's Dining Philosophers scenario demonstration.

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.

Contents Structure

The Examples module contains the following example applications :

DemonstrationDescription
chatThis 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.
commonThis is not a demonstration ; This is a repository for common files used by all demos.
demo1This illustrates a simple clients / server application showing how client components could be connected by a receptacle to a facet provided by a server component.
demo2This illustrates a simple producer / consumers application showing how a producer component could push events by an event source to a set of event consumer sinks.
demo3This 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.
dinnerThis 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 2002 Yokohama (Japan) and Orlando (USA) OMG Meetings to show interoperability between CCM implementations.
filetransferThis 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.
helloThis illustrates the classical Hello World application showing how component-unaware clients could create a server component and use a facet provided by this one.
webThis 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.

Build Instructions

To compile a demonstration, do the following :

  1. Go to the associated directory.
  2. Execute your pre-installed ANT:

    $ 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:

DirectoryFileDescription
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.


Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster | Last modified at 2005-07-07 02:04 PM