Re: popular CORBA systems ?
On Sat, 25 Sep 2010, Arne Vajh?j wrote:
On 23-09-2010 23:15, gk wrote:
can these two be brought under CORBA system now ? I am afraid we
can't because C is not a OO Language . we can' think objects
here...is that correct ?
CORBA is object oriented.
I believe using CORBA from C can be done, but it must be a bit
easier using an object oriented language.
Isn't everything?
Here's the spec for the C binding to CORBA:
http://www.omg.org/spec/C/1.0/
From which i take this example of a mapping. The IDL:
interface example1 {
long op1(in long arg1);
};
The C:
typedef CORBA_Object example1;
extern CORBA_long example1_op1(example1 o, CORBA_long arg1, CORBA_Environment *ev);
It's not entirely dissimilar to the java-to-C mapping embodied in JNI,
actually.
Here's an ORB (possibly two ORBs?) which comes with a C binding:
http://orbit-resource.sourceforge.net/
Just for fun, here's a CORBA binding to WSDL (haven't read, not sure
what that even means):
http://www.omg.org/spec/CORBABINDING/1.0/
tom
--
If this is your first night, you have to fight.