RE: attributes in CORBA IDL

> >
> > Not exactly, this depends on the bindings in use. Java doesn't
support
> > attributes in interfaces, so it will get translated into get/set.
C#
> > will expose them as properties (with set{} throwing an exception for
> > readonly ones).
> 
> The point is what goes in the stub. I understand the programming
> model of the stub can defer from language to language, but clearly
> all the stubs have to do *one* thing. What is that? A method call.
> 

It doesn't necessarily have to be a method call. There may be a WSDL to
HTTP binding in which case they would be appropriate HTTP GET/PUT
messages. There may be a WSDL to SOAP binding in which case the messages
that need to be exchanged would have to be defined.

Such bindings should be sufficient for interoperability purposes.
Programming languages would have to choose their own way to create
stubs. In Java, for example, getx() and setx() operations would be
translated to the appropriate HTTP or SOAP messages.

.savas.

Received on Monday, 30 June 2003 13:57:36 UTC