[Discuss] Discuss Digest, Vol 30, Issue 3

discuss-request at mozdev.org discuss-request at mozdev.org
Thu Dec 15 22:18:25 EST 2005


Send Discuss mailing list submissions to
	discuss at mozdev.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://mozdev.org/mailman/listinfo/discuss
or, via email, send a message with subject or body 'help' to
	discuss-request at mozdev.org

You can reach the person managing the list at
	discuss-owner at mozdev.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Discuss digest..."


Today's Topics:

   1. RES: [Discuss] Building an XPCom component in Java
      (Murilo Cam?es Perrone)
   2. Re: RES: [Discuss] Building an XPCom component in Java
      (Brian King)


----------------------------------------------------------------------

Message: 1
Date: Wed, 14 Dec 2005 17:41:52 -0200
From: Murilo Cam?es Perrone <mperrone at certisign.com.br>
Subject: RES: [Discuss] Building an XPCom component in Java
To: <discuss at mozdev.org>
Message-ID: <LOELLBDICOAGKLINAHBIEELNCCAA.mperrone at certisign.com.br>
Content-Type: text/plain; charset="iso-8859-1"

Help please !

I need an JavaConnect example (a XPCom component made in java). The sample in mozilla/extensions/java/xpcom/tests did not build with JavaConnect and it looks too simple. The only special thing Foo.java has is an defined queryInterface method.

I have mozjava.jar , javaxpcom.dll and my own java component as a .JAR and a .XPT .
Should I produce a DLL from my .JAR ? How ?

Thanks

> -----Mensagem original-----
> De: discuss-bounces at mozdev.org [mailto:discuss-bounces at mozdev.org]Em
> nome de Brian King
> Enviada em: quinta-feira, 8 de dezembro de 2005 08:52
> Para: discuss at mozdev.org
> Assunto: Re: [Discuss] Building an XPCom component in Java
> 
> 
> 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
> _______________________________________________
> Discuss mailing list
> Discuss at mozdev.org
> http://mozdev.org/mailman/listinfo/discuss
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4012 bytes
Desc: not available
Url : http://mozdev.org/pipermail/discuss/attachments/20051214/bf8d84e7/smime-0001.bin

------------------------------

Message: 2
Date: Wed, 14 Dec 2005 21:17:06 +0100
From: Brian King <brian at mozdev.org>
Subject: Re: RES: [Discuss] Building an XPCom component in Java
To: discuss at mozdev.org
Message-ID: <43A07DC2.7010602 at mozdev.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Murilo Camões Perrone wrote:
> Help please !
> 
> I need an JavaConnect example (a XPCom component made in java). The sample in mozilla/extensions/java/xpcom/tests did not build with JavaConnect and it looks too simple. The only special thing Foo.java has is an defined queryInterface method.
> 
> I have mozjava.jar , javaxpcom.dll and my own java component as a .JAR and a .XPT .
> Should I produce a DLL from my .JAR ? How ?

http://lxr.mozilla.org/mozilla/source/extensions/java/xpcom/tests

Also see:
http://developer.mozilla.org/en/docs/Javaconnect
... where you can dig around for more information.

This is the wrong list to discuss this. Try netscape.public.mozilla.java 
on news.mozilla.org.
http://developer.mozilla.org/en/docs/Javaconnect:Community

-- 

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

------------------------------

_______________________________________________
Discuss mailing list
Discuss at mozdev.org
http://mozdev.org/mailman/listinfo/discuss


End of Discuss Digest, Vol 30, Issue 3
**************************************




More information about the Discuss mailing list