XPCOM components in java call java application code from javascript

"Miroslav Penkov" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Organization TIS
Message-ID <nuOdnbtaCOEl8jPZnZ2dnUVZ_tGdnZ2d__24768.9630291008$1152282643$gmane$org@mozilla.org>

we have following problem:
we have a java/eclipse app which used mozilla through ATF toolkit
(eclipse/ibm) and XULRunner
we can use all mozilla functionality through the java api
what we need is:
1) how to create XPCOM components in java (with sample best)
2) how to call our java application code from javascript within mozilla.


We tried to access class loader but there have problem with access to it.
Has anybody know something about this?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.