Re: Develop XUL application and connection (JavaScript) with Java classes
Michal Ceresna <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <200705221020.28053.michal.ceresna__25133.3305998289$1179825463$gmane$org@gmail.com> |
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 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. > Where can i find a demo about JavaXPCOM? http://developer.mozilla.org/en/docs/JavaXPCOM regards, Michal