I'm trying to find out if there is a standard or recommended way to communicate from javascript to the application which embeds a browser widget, and vice versa. The hosting application may be written in either java or c++ and may run on Windows and Unix platforms, but the javascript would be shared across both clients. 

So far I've read about:

* window.external (This seems to be IE specific, so it wouldn't work on Unix.)
* LiveConnect (This seems to be java and mozilla specific, so it wouldn't work for IE or c++ based applications.)
* SWT's Browser widget has some of this capability, but this would be a java-only solution..

What other options are out there?

Thanks!
 Shyam