mozilla

JavaXPCOM

JavaXPCOM pozwala na komunikacje pomiędzy Javą i XPCOM, such that a Java application can access XPCOM objects, and XPCOM can access any Java class that implements an XPCOM interface. With JavaXPCOM, a developer can talk to XPCOM or embed Gecko from a Java application. JavaXPCOM is very similar to XPConnect (JavaScript-XPCOM bridge), and uses XPIDL.

JavaXPCOM is now built by default as part of XULRunner. Pobierz ostatni build XULRunner 1.8.0.4, aby go wypróbować.

Dokumentacja

Programowanie JavaXPCOM
How to get and build the source, as well as how to view and report bugs.
Przykładowy kod
There are several Java test applications checked in to the tree that give examples on how to embed Gecko or init XPCOM from within Java.

; Embedding Mozilla in a Java Application using JavaXPCOM: <small>XULRunner ships with the JavaXPCOM component, which allows Java code to interact with XPCOM objects. As you will see in this article, working with XPCOM objects in Java is not that much different than doing so in C++.</small> Pokaż wszystkie...

Społeczność

  • Obejrzyj fora Mozilli...

  • Obejrzyj zagnieżdżone fora Mozilli...

Powiązane tematy

XPCOM, Zagnieżdżanie Mozilli

Autorzy i etykiety dokumentu

Contributors to this page: fscholz, Ptak82, Mgjbot
Ostatnia aktualizacja: fscholz,