[Mono-list] .NET ORB using Java
Vibhu Sharma
vbsharma@quark.co.in
Wed, 12 May 2004 13:07:43 +0530
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C437F4.033EE83E
Content-Type: text/plain
Hi
Here is what we are thinking of doing...
0. Take a Java implementation of some ORB - say OpenORB.
1. Take the sources [.java files] and compile them in J# to get a .NET
implementation.
1.1 this would be JDK 1.1.4 compatible - so somethings may not work.
1.2 Does Microsoft have any plans to upgrade J# to support Java 2?
[especially JDK 1.4 and above]?
1.2.1 We don't really care for swing etc at this stage - i.e
no UI related stuff is needed
1.2.2 We also don't care about RMI, JNI etc. for this
particular task
1.3 Has there been some work done on above?
Once the ORB is built, this would essentaily be a .NET assembly
[.dll] targetting the CLR rather than being a .jar targeting a JVM
2. We can then do IDL2Java to get the .java files.
3. Recompile these stubs using J# to create yet another .NET assembly
- in case this piece requires changes, would be painful because you
wont want to edit and recompile the stubs everytime
4. We can then use any .NET compliant language like C# to write the clients
in.
5. On Mac OSX, we would be doing Cocoa development, so UI in Objective C and
non-UI in Java [using OpenORB], and since both support Cocoa, life
would/should be simpler.
- this means no mono or CORBA remoting needed.
- may not be a popular thought for this forum, but please let me
know if this has been tried and if there are some pitfalls related to this.
Regards
*****
Vibhu
9514
------_=_NextPart_001_01C437F4.033EE83E
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-Ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2657.73">
<TITLE>.NET ORB using Java</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Verdana">Hi</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">Here is what we are thinking of =
doing...</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">0. Take a Java implementation of =
some ORB - say OpenORB.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana">1. Take the sources [.java files] =
and compile them in J# to get a .NET implementation.</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Verdana">1.1 this would be JDK 1.1.4 compatible - so somethings =
may not work.</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Verdana">1.2 Does Microsoft have any plans to upgrade J# to =
support Java 2? [especially JDK 1.4 and above]?</FONT>
<BR> =
<FONT SIZE=3D2 =
FACE=3D"Verdana">1.2.1 We don't really care for swing etc at this stage =
- i.e no UI related stuff is needed</FONT>
<BR> =
<FONT SIZE=3D2 =
FACE=3D"Verdana">1.2.2 We also don't care about RMI, JNI etc. for this =
particular task</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Verdana">1.3 Has there been some work done on above? </FONT>
</P>
<P> <FONT SIZE=3D2 =
FACE=3D"Verdana">Once the ORB is built, this would essentaily be a .NET =
assembly [.dll] targetting the CLR rather than being a .jar targeting a =
JVM</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">2. We can then do IDL2Java to get =
the .java files.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana">3. Recompile these stubs using J# =
to create yet another .NET assembly</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Verdana">- in case this piece requires changes, would be =
painful because you wont want to edit and recompile the stubs =
everytime</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">4. We can then use any .NET =
compliant language like C# to write the clients in.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">5. On Mac OSX, we would be doing =
Cocoa development, so UI in Objective C and non-UI in Java [using =
OpenORB], and since both support Cocoa, life would/should be =
simpler.</FONT></P>
<P> <FONT SIZE=3D2 =
FACE=3D"Verdana">- this means no mono or CORBA remoting needed.</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Verdana">- may not be a popular thought for this forum, but =
please let me know if this has been tried and if there are some =
pitfalls related to this.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">Regards</FONT>
</P>
<P><FONT COLOR=3D"#008080" SIZE=3D2 FACE=3D"Verdana">*****</FONT>
<BR><FONT COLOR=3D"#008080" SIZE=3D2 FACE=3D"Verdana">Vibhu</FONT>
<BR><FONT COLOR=3D"#008080" SIZE=3D2 FACE=3D"Verdana">9514</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C437F4.033EE83E--