Examples

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. The test apps can be found at mozilla/extensions/java/xpcom/tests.