Nickolay Ponomarev wrote:
> On 6/21/07, Yongqing <[EMAIL PROTECTED]> wrote:
>> Hi
>>
>> I currently have some Java classes. Instead of converting them to
>> Javascript, I am exploring of using Java XPCOM or LiveConnect to
>> integrate them into a Thunderbird extension.
>>
>> However,
>> http://boomswaggerboom.wordpress.com/2007/04/16/javaplugin-cleanup-for-mozilla-20/
>>
>>
>> seems to indicate that Liveconnect is not longer going to be in use.
>>
>> Is NPAPI easy to use? Seems complicated to me. Does anyone knows where I
>> can find a good example? Or should I just use Liveconnect or etc?
>>
> Are you going to use your classes in an extension? NPAPI is for
> plugins, it's most probably something you won't need. JavaXPCOM would
> be the right solution, but I think the patch to let XPCOM components
> be implemented in Java is not yet done.
>
JavaXPCom components only work at present if you are embedding gecko,
the patch is at https://bugzilla.mozilla.org/show_bug.cgi?id=299263 but
its stagnated, and is in need of being updated against the current
codebase ...
> I recall seeing a tutorial on using Java classes from an extension on
> developer.mozilla.org. Did you look for it?
>
> Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom