[Date Prev] [Date Next] [Thread Prev] [Thread Next] Indexes: Date | Thread | Author

[XML-SIG] WSDL library ?

I said Corba's model is simple, not single. :)    (01)

I thought Corba required every object to have a type, and that com/corba 
gateways defined a ComObject type.    (02)

It's good to know RMI and DCOM can be made to fit inside the Corba model.    (03)

> AFAIK, in DCE IDL, you have have a void* field in an struct, and then
>> you use attributes of the field (like unique, size, etc) to indicate
>> whether this pointer may be shared, and whether the pointer is to
>> a single object or an array of objects, in which case you need somehow
>> specify the size of the array. It seems easy to get wrong.    (04)

DCE IDL cannot marshall void*, only typed pointers.  Arrays are not 
supported as a primitive concept, you have to use an attribute to 
indicate which parameter holds the length.  That is because DCE IDL is 
"close to the wire"; a VisualBasic or Python IDL compiler could omit the 
length_is(foo) declaration, and have the runtime get it automatically 
from the language's facilities.  (Just like Corba does.)    (05)

The other attributes, about pointer sharing -- pointer_defalt(unique), 
etc., are optimization hints the compiler can use when generating stubs. 
(Remember the short-lived C keyword "noalias"? :)
	/r$    (06)

>> Regards,
>> Martin
>>     (07)

Zolera Systems, http://www.zolera.com
Information Integrity, XML Security    (08)