Inter-process Communication
A communication medium between graviton apps can be established via a light-weight socket based message queue like zeromq. It is cross-platform and has inbuilt reliability. Each app can enforce specific contract for communication. It is also secured at the transport level. Graviton app can leverage it as a means of inproc messaging for multithreading.
Adapters can be written and installed as a service to communicate with the native desktop apps. Say a office adapter is written and registered to the bus for COM interop. When a graviton app will send message to the bus, the adapter will pick it up and do the com interop on behalf of the graviton app. Similarly for linux a dbus adapter can be written to communicate with the myriad of native linux apps.
The service broker / message bus can be hosted either in the main graviton app browser jvm process or as a separate process and can be installed as a OS service.