Re: Develop XUL application and connection (JavaScript) with Java classes
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <1179833966.526664.170910__4022.15959406949$1179834326$gmane$org@b40g2000prd.googlegroups.com> |
On May 22, 10:20 am, Michal Ceresna <[email protected]> wrote: > On Tuesday 22 May 2007, [email protected] wrote: > > Hello, > > > I want to develop XUL client application which will use some Java > > classes I develop. I just want to call some methods in Java which will > > return some results. > > How can I do that? > > As you correctly point out, you have two methods: > > a) LiveConnect - method available alreadt today, sufficient if you need > just a thin interaction layer between Java and JS Dose this work in the XULRunner. Where I have to put my Java classes? Will LiveConnet be supported in next versions of Mozzila? > > b) XPCOM component implemented in Java using JavaXPCOM. > Although parts of the code are already flying around (e.g. in bugzilla), > afaik it has not been commited into xulrunner yet. I read at the bugzilla that this code is still not "ideal" https://bugzilla.mozilla.org/show_bug.cgi?id=299263 > > > Where can i find a demo about JavaXPCOM? > > http://developer.mozilla.org/en/docs/JavaXPCOM I try this example but i can't make it work ;( Do you have any fully functional demo? Tnx, Marko > > regards, > Michal