E357 University of North Carolina at Chapel Hill Old Dominion University 97,735 Portland State University 156,181 Prasun Dewan University of North Carolina Department of Computer Science Chapel Hill NC 27599 919 962 1823 919 962 1799 dewan@cs.unc.edu Collaboration Bus http://www.cs.unc.edu/~dewan/cb.html This project is addressing the problem of composing new collaborative systems from existing single-user and collaborative systems. It will develop a new software abstraction, called the collaboration bus, that makes it easy to interoperate collaborative systems. The bus will offer two forms of interoperability: (1) inter-service interoperability, which will allow existing implementations of different collaboration services to be combined in new collaborative systems; and (2) intra-service interoperability, which will resolve inconsistencies among different, competing instances of the same service provided by different existing systems that need to interoperate with each other. Both kinds of interoperabilities are important. Inter-service interoperability, also sometimes called vertical interoperability, promotes modularity and reuse of code by allowing existing independent implementations of different services to be composed into a larger system. For instance, it can allow an existing single-user walkthrough to be composed with a conferencing tool to support a larger system that allows collaborative walkthrough. Intra-service interoperability, also sometimes called horizontal interoperability, allows coexistence of different systems solving the same problem. For instance, it can allow two sets of users, one using a Habanero whiteboard and another using a NetMeeting whiteboard, to collaborate on the same whiteboard drawing. It is important to support such scenarios since collaboration is often opportunistic, involving collaborators who may either be used to, prefer, or required to use different software systems. The concept of a collaboration bus requires a general abstraction that covers the functionality of existing collaborative systems. In particular, the bus must define a reference model that captures similarities and differences among multiple solutions to a problem. In addition, it must provide, when possible, semantic translation to allow dissimilar solutions to the same problem to coexist. It must also define composition functions that allow a service to be composed with other collaboration services. Finally, the bus must not become a bottleneck that significantly increases the response times of users.

The following approach is being used in designing, implementing and evaluating the bus: (1) Identify the services that a collaborative application requires. (2) Identify a reference model or design space for each of these services. (3) Identify (a) composable implementations and (b) semantics translations for each of these services. (4) Define a module, called the bus agent, that acts as a broker, allowing programmers to register their own service implementations and translations with the bus; and users to easily connect to the default or programmer-defined bus modules. (5) Develop mechanisms and policies for replicating and migrating parts of the bus. (6) Develop mechanisms for protecting the operations on the bus. (7) Carry out interoperability experiments involving each of these services using state-of-the-art existing software.

To illustrate this abstract approach, consider some of the concrete steps we have taken so far in each of these seven categories: (1) We have identified generic collaboration services such as coupling (workspace sharing), concurrency control, and merging of divergent workspaces. (2) We have identified dimensions of the design space of concurrency control, dividing it into floor control and fine-grained locks; further dividing fine-grained locks into standard locks, optimistic locks, and tickle locks; and allowing any of these locks to be distributed or centralized. (3) (a) We are currently developing a default implementation of this design space using Java's computation reflection, which allows us to discover the structure of an object - essential for supporting fine-grained locking. (b) We have also implemented a set of objects for translating between floor control and fine-grained standard locking. (4) We have implemented a bus agent that allow easy registration and discovery of default and programmer-defined objects. (5) The bus agents are fully replicated. (6) Using Java security classes, we have implemented higher-level access-control mechanisms to protect bus operations. (7) We have carried out an interoperability experiment wherein two sets of users, one using a Habanero implementation of floor control and another using our implementation of fine-grained locking have been able to collaborate with each other.

We have published on the Web an initial reference model for collaboration system, which consists of a decomposition of the functionality of a collaboration system into several independent services and design spaces for each of these services. The design spaces include most of the current implementations of these services.

We have designed and implemented a composable session management system for application sharing engines. It is implemented on top of the the Java Shared Data API (JSDA) from Sun. It consists of four levels: the top level is the session information service, the second level is the session managers, the third level consists of the application sharing engines and the audio/video streams, while the lowest level contains the actual shared applications. To test its composability, we have integrated it, with little effort, with the JCE collaboration system developed at ODU and NIST for sharing Java applications and the XTV collaboration system developed at ODU for sharing X applications. Thus, the same session management code is being used by two different collaboration infrastructures. To the best of our knowledge, this is the first example of code sharing between two different independent collaboration infrastructures that were developed independently.

We have also designed and implemented a composable mechanism for allowing users to late join a collaborative application. It logs output requests of the collaborative application in terms of an abstract interaction model to which the requests of a specific application must be mapped. Our solution provides three different schemes, of increasing flexibility and efficiency, that make increasing assumptions about the amount of semantic information available from the application. To test its composability, we have integrated it, with little code, with a collaborative spreadsheet application we developed previously.

Last year we completed an initial prototype implementation of the Sync model for asynchronously merging object versions. We have made some important improvements to the implementation. It is now composable with the application object that must be merged. We have also added a composable, hierarchical persistent object server and browser to it. To test its composability, we have integrated Sync, with little effort, with an existing shared whiteboard application, thereby allowing independent changes made to the drawings by different users to be merged. We have also used Sync to build an application that synchronizes copies of an entire file system. This application is much like the Windows briefcase except that the merge policy it uses is configurable and it works for an arbitrary operating system.

One of the problems with building composable objects is that the cost of connecting them becomes non trivial. We have implemented a set of distributed modules, called bus agents, for substantially reducing this cost. They support the notion of typed connection points, called facets, and a variety of defaults, to automatically generate and connect composable objects.

We have implemented a concurrency-control translator allowing two different implementations of concurrency control, fine-grained locking and floor control, to interoperate. One of these implementations is a collaborative spreadsheet application we developed and the other is a version of the spreadsheet running under Habanero. As far as we know, this is the first example of intra-service interoperability, in the collaboration domain; and the first use of a general architecture for interoperability in the collaboration domain.

We have developed a semantic model of awareness for virtual environments. The model supports ``virtual training wheels,'' which provides varying levels of artificial awareness in a shared virtual training environment, thereby allowing a trainee to gradually learn to work without computer help. We have implemented a ``capture the flag'' application to illustrate the model. It allows the participants to turn on or off various clues about the correct path in a maze to the flag that must be captured. The model has been implemented as part of an initial reference architecture for collaborative VEs.

Finish implementation of generic composable Java modules supporting user-interface, coupling, concurrency control, and access control services, and compose them with existing IC&V Java projects such as Habanero, C-Space, and Disciple.

Compose an existing walkthrough application developed at UNC with collaboration facilities developed as part of our current reference architecture for collaborative VEs.

Use the Bus agents to automatically connect many of objects modules that have been hand connected so far.

Explore if existing Windows applications, such as word processors and spreadsheets, can be made collaborative through the Bus. The Bus is implemented in Java, and the recent implementation of a bridge between Active X and Java Beans could make this task feasible.

Implement XTV (a system of sharing X applications) in Java so that it could be composed easily with some of our Java-based Bus services such as late-commer accommodation.

Document and stabilize our software so that it can be distributed for technology transition. The session manager and the Sync system are almost ready for dissemination, requiring only some documentation. The other components mentioned above such as Bus agents, translation modules between floor control and fine-grained locking, and default implementations of collaboration services will be ready at the end of the project. 7 July 1998 N66001-96-C-8507 Office of Naval Research (ONR) Collaboration Bus: An Infrastructure for Supporting Interoperating Collaborative Systems 22 JUL 1996 21 JUL 1999 9668,138 97394,868 98311,215 99207,476 97 703,242 608,521 94,721 15 OCT 1998 278,455 30 JUN 1998