Tr: Re: [Mono-list] Mono/Java interop?
fgonthier@hermes.usherb.ca
fgonthier@hermes.usherb.ca
Thu, 07 Nov 2002 10:03:57 -0500 (EST)
----- Message retransmis par fgonthier@hermes.usherb.ca -----
Date: Thu, 07 Nov 2002 10:01:46 -0500 (EST)
From: fgonthier@hermes.usherb.ca
Reply-To: fgonthier@hermes.usherb.ca
Subject: Re: [Mono-list] Mono/Java interop?
To: Mathias Hasselmann <mathias.hasselmann@gmx.de>
> > While I don't think there's a *general* solution for (c), it can be
> > imporved by building a mapping for a wide variety of common
> Class-Type
> > pairs.
>
> I only see the need of recreating the interfaces of the referenced
> objects by using reflection mechanisms. From my understanding of the
> .NET technology it should be possible to teach C# late binding if this
>
> is possible for VB.Net already...
>
If I could use a Java-Mono bridge, calling Java methods using something like
CallJava(someObject, "SomeMethod", param1, param2, ...).
> At least for Java on Windows it should be easy to integrate .Net
> objects into Java applications: .NET objects on windows automatically
> are COM objects. Java on Windows is capable to instanciate COM
> objects... Something I doubt is the assumption you could have Java
> objects in .Net apps without being able to create .Net objects in Java
>
> apps....
Thinking of that, I must agree with you on this point.
> I don't see CORBA just as an alternative. In my opinion providing CORBA
>
> support in Mono would be the most valuable solution:
>
> a) CORBA support has some value per se (crossplatform,
> accepted standard, ...).
> b) Java already has good CORBA support, so we only would have
> to
> build the other end of the bridge.
> c) Having CORBA support in Mono would speedup Bonobo integration
> of Mono and therefore would improve GNOME integration of
> Mono.
>
> The main question to work out about this: Does the OMG have defined
> CORBA bindings für CIL already? Or does Microsoft have defined some? Or
>
> is there at least a working group in the OMG working on this issue?
Oh yeah, CORBA support for Mono would sure be great but my views on Java/Mono
interop. was more modest. I'm pretty sure there would be a way for Mono to
speak to a Java VM using JNI like I described earlier.
----- Fin de message retransmis -----
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/GO d+(-) s a-- C++ UL? P L+(++) E--- W N+ o-- K- w++ O--- M? V? PS PE Y+
PGP- t+ 5(+) X-- R tv+ b+ DI+++(++++) D+(++) G-- !e h-- r++ y+
------END GEEK CODE BLOCK------