JavaXPCOM allows for communication between Java and 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. Download a recent build or XULRunner 1.8.0.1 to try it out.
- JavaXPCOM Development
- How to get and build the source, as well as how to view and report bugs.
- Sample code
- 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
- 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++.
View All...
|