How can an applet communicate with a Browser Plugin, which happens to be written in C++?

Since JavaScript can communicate with Plugins and Applets can communicate with JavaScript, use JavaScript as the go-between to communicate with the plugin. Technically speaking, the fact that the Plugin is written in C++ is irrelevant.