W3C home > Mailing lists > Public > www-ws-arch@w3.org > January 2003

Dynamic invocation vs. late/dynamic binding

From: Mark Baker <distobj@acm.org>
Date: Tue, 7 Jan 2003 13:05:21 -0500
To: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
Cc: www-ws-arch@w3.org
Message-ID: <20030107130520.F26567@www.markbaker.ca>

Hi Sanjiva,

On Tue, Jan 07, 2003 at 10:41:31PM +0600, Sanjiva Weerawarana wrote:
> There's nothing special at the code level whether the "operation"
> is GET or something that's looked up from a WSDL and dropped inside
> a SOAP envelope.

Yes, there is, as I've been trying really hard to explain.

Here's the Shape example again;

Class Square

Class Circle

interface Shape

Late/dynamic binding means being able to manipulate squares and circles
with the Shape interface.  Dynamic invocation means being able to
construct, for example, a "displaySquare" message without compile-time
knowledge of the full Square interface.

The former enables a client written to access Shape objects, to later
access triangles, ovals, hexagons, you name it.  The latter doesn't.

Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca
Web architecture consulting, technical reports, evaluation & analysis
Received on Tuesday, 7 January 2003 13:04:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:41:02 UTC