A Look at the Mozilla Technology and Architecture
  XPConnect: JavaScript-XPCOM Interoperation
  • XPConnect allows seamless JavaScript-XPCOM interoperation
  • Can use and implement XPCOM components from JavaScript
  • Scriptable APIs exposed via XPIDL allow JS to be used instead of C++
  • Activestate working on Perl, Python interoperation
  • Sun working on Java interoperation
    [scriptable, uuid(bd3345c4-1dd1-11b2-b09d-9ee2859a38e1)]
    interface nsIHelloWorld : nsISupports
    {
      void sayHello();
      attribute string worldType;
    };
    
Prev Top Next