![]() |
Java-to-XPCOM BridgeThe Java-to-XPCOM Bridge allows interoperability between Java and XPCOM components. Java code may obtain proxies to XPCOM objects written in other languages such as C++, invoke methods on those objects as if they were written in Java, and register Java objects for callbacks from XPCOM components. When this bridge it is in place, it will be possible to write applets that access the DOM, or (when the infrastructure is in place) XPCOM components written in Java instead of C++. Current Design
The Blackwood team is working on an implementation
based on the XPCOM reflection and typelib infrastructure behind
XPConnect.
The current plan is to implement dynamically-generated
Java proxies to C++ objects, and vice-versa. That is, the system
will generate the byte-codes for each Java-side proxy on demand;
each method implementation will marshall arguments to a generic
invocation method based on Other notable features of the current design:
Status
Right now, the project is just getting started.
What implementation we have is useful only for standalone test programs
demonstrating argument marshalling.
We have yet to explore a number of issues relating to
security and concurrency.
We also have yet to explore mapping Java interfaces back to IIDs,
and Frank Mitchell Last modified: Tue Jul 20 14:26:04 PDT 1999 |
|
|
Copyright © 1998-1999 The Mozilla Organization.
Last modified July 28, 1999. |
|