Why does JavaXPCOM require XULRunner?

"Jack Smith" <[email protected]> Fri, 8 Feb 2008 23:09:56 -0500
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <e6964fe60802082009o75b58a5l9f11df47ae4f7dab__42811.6801464514$1202530257$gmane$org@mail.gmail.com>
Hey guys,

This question has probably been asked a million times, but after searching
the archives I didn't find anything: Is it possible to use JavaXPCOM to make
Java apps communicate with Firefox extensions, or is it truly
XULRunner-only?

I made a sidebar Firefox extension to act as the GUI for a command-line Java
app I wrote. The only problem is that the communication is one-way -- I can
use nsIProcess to launch the .jar file from the extension, but it can't
receive any information back as the app is running!

Thanks very much.