[Discuss] Building an XPCom component in Java

Brian King brian at mozdev.org
Thu Dec 8 11:52:27 EST 2005


Currently you can only write XPCOM components in JavaScript, C++, and 
Python.

However ...

http://www.mozilla.org/projects/javaconnect/

Murilo Camões Perrone wrote:
> Hi from Brazil.
>  
> Were can I find a guide about building XPCom components in Java ?
>  
> Brief intro: I need to build an criptography component. After studing 
> SecClab, PSM2, NSS, NSPR and JSS, I concluded JSS was the best option. 
> PSM2 was too simplified and NSS was not object oriented. I was buinding 
> an C++ object oriented layer above NSS, but decided for JSS as I saw 
> such layer was goin too big. I had sucessfully build XPCom components in 
> C++, but with Java I could not.
>  
> All I have now are JavaConnect samples.
> Using XPIDL tool, I generated the java interfaces from gecko-sdk, but 
> all of them refer to the *_nsID class_*, which I could not find (neither 
> nsIID class).
>  
> The "Using JSS" guide points out DLLs as if they were JARs 
> (http://www.mozilla.org/projects/security/pki/jss/using_jss.html):
> How does JSS build into an DLL ?
> How can an java project use the JSS, NSS, NSPR DLL binaries ?
>  
> Thanks in advance,
> ------
> Murilo Perrone
> CertiSign
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Discuss mailing list
> Discuss at mozdev.org
> http://mozdev.org/mailman/listinfo/discuss


-- 
Brian King
www.mozdev.org - free project hosting for the Mozilla community


More information about the Discuss mailing list