[Mono-list] corba questions

Rodrigo Moya rodrigo@ximian.com
19 Jul 2001 18:43:01 +0200


On 19 Jul 2001 18:16:52 +0200, Tyson Dowd wrote:
> On 19-Jul-2001, Sebastien Lambla <sebastien.lambla@6sens.com> wrote:
> > Andrew,
> > 
> > I think the CORBA support in mono has two aspects:
> > 
> > 1. Accessing CORBA objects, that would need being able to generate CORBA
> > wrappers, which is quite similar to COM wrappers, using reflection to
> > construct a .net wrapper of the object from the IDL, and make the interop
> > transparent to the .net program. Writing it in pure C# would be a great
> > addition to mono and to the dotnet platform in general.
> 
> I've only thought about this very quickly, but here are my thoughts:
> 
> The IDL doesn't have to play a part in this.  It would be better to take
> an existing CORBA object, and query it dynamically (using DII) to find
> out what its types are, then generate the appropriate .NET interface
> which is a small stub into the CORBA object.
> 
> This is the approach taken by the MS tool tlbimp, which takes a type
> library and makes a .NET interface for it.
> 
> (You can do the same thing starting from IDL, but then you have to have
> the IDL to begin with, and you have to write a parser for IDL).
> 
this is not a problem (writing the IDL parser), since it's already done: libIDL,
which is part of ORBit

cheers

--
Rodrigo Moya <rodrigo@gnome-db.org> - <rodrigo@ximian.com>
http://www.gnome-db.org/ - http://www.ximian.com/