Search code examples
javac++firefoxcorbaidl

invoke mozIAsyncLivemarks.idl with Java


How can I Programmatically , directly, invoke mozIAsyncLivemarks.idl with Java? It seems that an IDL comes from C++.

While I'm aware of Rome, I'd like to use Firefox if possible. If it's not possible, or extremely difficult, to do this with Java, that would be an acceptable answer as well.

This is somewhat like using CORBA?

http://mxr.mozilla.org/mozilla-central/source/toolkit/components/places/mozIAsyncLivemarks.idl

http://docs.oracle.com/javase/8/docs/technotes/guides/idl/GShome.html


Solution

  • Mozilla XPIDL files are somewhat similar in syntax to OMG IDL (the standard used for CORBA object interfaces) but that's where the relationship to CORBA ends.

    You should consult this guide for more information on XPIDL.