Philippe:

Thank you for your suggestion. But after reading the architecture of Piggy
Bank, I think it doesn't write the XPCOM in Java. It uses LiveConnect to
bridge the Java and JS in Firefox.

Thank you all the same. BTW, the link that Pedemonte gave us bout java in
firefox extension is very helpful.

Ross



2007/9/13, Philippe Ombredanne <[EMAIL PROTECTED]>:
>
>  Ross:
> About writing XPCOM and Firefox extensions in Java, I recall effort at the
> MIT in the piggybank/Simile project:
> http://simile.mit.edu/wiki/Piggy_Bank
>
>
>
> --
> Cheers
> Philippe
>
>
>  -----Original Message-----
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Yihao Zhang
> *Sent:* Wednesday, September 12, 2007 6:34 PM
> *To:* AJAX Toolkit Framework discussion
> *Subject:* Re: [atf-dev] How the ATF interacts with Mozilla browser?
>
>  Hi:
>
> Is it possible for us to write a XPCOM component in Java and register it
> to Mozilla so that the Mozilla browser can use that XPCOM component?
>
> If I cannot write a XPCOM component using Java and register it, could I
> invoke the JVM of Mozilla in a separate process in order to let my Java
> application communicate with that JVM in Mozilla?
>
> Thank you in advance.
>
> Ross
>
>
> 2007/9/11, Javier Pedemonte <[EMAIL PROTECTED]>:
> >
> > On 9/9/07, Yihao Zhang <[EMAIL PROTECTED] > wrote:
> > >
> > > So, I am wondering whether I can invoke or embed a actual Firefox
> > > browser through JavaXPCOM using the ATF mechanism?
> > >
> >
> > No, Firefox is not embeddable.  In order to embed, you must use
> > XULRunner, which is what ATF uses.  XULRunner and Firefox share the same
> > rendering engine, so you shouldn't see any difference between the two when
> > rendering a web page.
> >
> >
> >  Besides that, I found the Mozilla browser is running in the SWT frame.
> > > Is it possible that we discard the SWT package and let the browser run in 
> > > a
> > > Swing or AWT application?
> > >
> >
> > Currently, this is not supported.  Work on that is being handled here: 
> > https://bugzilla.mozilla.org/show_bug.cgi?id=335696
> >
> >
> >
> > Javier Pedemonte
> > ATF Developer
> >
> >
> >
> >
> > _______________________________________________
> > atf-dev mailing list
> > atf-dev@eclipse.org
> > https://dev.eclipse.org/mailman/listinfo/atf-dev
> >
> >
>
> _______________________________________________
> atf-dev mailing list
> atf-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/atf-dev
>
>
_______________________________________________
atf-dev mailing list
atf-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/atf-dev

Reply via email to