/*============================================================================ CPER-TAC Mosaiques project, LIFL/CNRS GOAL Team. This work is completed with the support of Nord/Pas-de-Calais Regional Council and the Regional Management of Research and Technology of Nord/Pas-de-Calais within the framework of the “Contrat Plan Etat/Région”. =============================================================================*/ ************************************************************** This is the Mosaiques OpenCCM platform V1. ************************************************************** The Mosaiques OpenCCM framework is a component-based software infrastructure to design, discover, deploy, and execute ubiquitous contextual services. Ubiquitous contextual services are designed as assemblies of distributed software components. The Mosaiques OpenCCM infrastructure allows mobile end-users to: - dynamically discover the mobile assemblies of ubiquitous contextual services according to the end-users physical location and also hardware/software device capabilities. It is based on a multicast discovery protocol that reduces power consumption and network traffic and a negotiation protocol to present to end-users only the mobile assemblies that are adapted to their device capabilities, - automatically deploy the mobile assemblies of ubiquitous contextual services on their own devices, and also manages the lifecycle of the service (ie cache management of mobile component assemblies for future re-use, uninstallation of services, etc.). The Mosaiques OpenCCM infrastructure is implemented using the OMG CORBA Component Model (CCM), on top of the OpenCCM open-source platform. ---------------------------------------------- Installation of the Mosaiques OpenCCM platform ---------------------------------------------- Source the OpenCCM environment file to have access to OpenCCM production chain's commands and just compile the module by entering '$ ant'. This generates component archives of the platform. ------------------------------------ Using the Mosaiques OpenCCM platform ------------------------------------ The Mosaiques OpenCCM platform is deployed as any other OpenCCM applications using the OpenCCM execution platform, except for the fact that the final assembly archive is splitted into two different ones (mosaiques_fixe.aar and mosaiques_mobile.aar) that can be (and should be) deployed separately. Just try or have a look at 'run' script file for more details. Important notes: ---------------- * The 'services.ini' file is an example of list of services that is loaded by default in the Service Registry component. * To configure multicast address and port of multicast communications between fixed and mobile nodes, set the 'att_multicast_address'/'att_multicast_port' parameters in the the META-INF/ServiceMulticast_*.cpf files and re-compile the module. * To provide URL of a web server from which component archives are deployed from server of services' providers to mobile end-users' terminals, set the 'webserver' parameter in the META-INF/ServiceRegistry.cpf file and re-compile the module. * To change the path from which 'services.ini' file is loaded, set the 'services_file' parameter in the META-INF/ServiceRegistry.cpf file and re-compile the module. * Finally, to allow distributed execution between multple nodes, don't forget to change 'localhost' with the real IP adress or hostname of node where the fixed assembly is running in the META-INF/mosaiques_mobile.cad file, then re-compile the module.