[Discuss] Where are the JARs ?
Murilo Camões Perrone
mperrone at certisign.com.br
Fri Dec 9 19:40:37 EST 2005
Hi,
Is there any .JAR with gecko-sdk java interfaces ?
The XPIDL generated .java files from gecko-sdk, but those won´t compile, unless I create nsID and OpaqueObject classes. This is unexpected. What did I miss?
OBS: Now I have sucessfully tested JSS but I need gecko interfaces to build JavaConnect .
> -----Mensagem original-----
> De: discuss-bounces at mozdev.org [mailto:discuss-bounces at mozdev.org]Em
> nome de Murilo Camões Perrone
> Enviada em: quinta-feira, 8 de dezembro de 2005 11:13
> Para: discuss at mozdev.org
> Assunto: RES: [Discuss] Building an XPCom component in Java
>
>
> Brian,
>
> By what I read, JavaConnect superseeded BlackConnect and solved
> the issue with arrays. At the same time, XPIDL.EXE knows how to
> build .java files with the exported interfaces. So it seems that
> the only thing I miss are the detailed and updated instructions.
>
> Anyway, can the JSS, a Java library, be used in any other
> language than Java (using JSS3.DLL) ?
> The Function entries in JSS3.DLL spell like:
> Java_org_mozilla_jss_pkcs11_CertProxy_releaseNativeResources
>
> > -----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
> >
> > --
> > Brian King
> > www.mozdev.org - free project hosting for the Mozilla community
>
-------------- 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/20051209/e286e8df/smime.bin
More information about the Discuss
mailing list