gcj to assist in porting java applet to activex control?
Marcus G. Daniels
mgd@swarm.org
Thu Oct 25 09:37:00 GMT 2001
>>>>> "JS" == Jeff Sturm <jsturm@one-point.com> writes:
JS> That reminds me... all COM interfaces extend IUnknown, so in order
JS> for a Java class to be COM-invokable it would need to reserve at
JS> least its first three vtable slots for the AddRef, QueryInterface
JS> and Release methods.
JS> I think the gcj frontend could arrange for that on Windows, if
JS> needed.
Also, in Mozilla, the base COM interface is called nsISupports.
If someone investigated making Active X control from Java code using gcj,
it probably would not be much more work to make gcj usable for
building cross-language Mozilla XPCOM interfaces -- interfaces usable
by JavaScript or Python in the browser.
More information about the Java
mailing list