Re: Status about implementing an XPCOM component in java

Javier Pedemonte <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <z-WdnWmRou_AREDYnZ2dnUVZ_veinZ2d__12967.1335955665$1172167303$gmane$org@mozilla.org>
fi wrote:
> I just wanted to get the current status about when it might be
> possible to implement XPCOM components in java (for a xulrunner
> application).

The bug for implementing this is here: 
https://bugzilla.mozilla.org/show_bug.cgi?id=299263.  But as you can 
see, I haven't had time to finish this project.

The current workaround is to create a Javascript extension that loads 
Java classes through Liveconnect 
(http://developer.mozilla.org/en/docs/Java_in_Firefox_Extensions).

> Will there be a performance penalty?

Not sure.  Haven't run any metrics.  But I would expect C++ to be the 
fastest.  Bringing in Java also requires a JVM, which increases the 
memory requirements...


javier pedemonte
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.