Unfortunately, I don't find the terminology below very clear. Your mapping of abstract class to message structure lost me. In my POV, the Atom message structure is roughly equivalent to an abstract class, in that it abstacts to a structure/class of "feeds containing entries". And all of Atom's verbs operate on any feed "subtype", no matter what kind of entries it contains.
As far as overriding (overloading) is concerned, I said before and I'll say again: it's typically the URI that is used in dispatching an overloaded operation (e.g., PUT), not the message. As such, WSDL supports such overloading. How else could WS-Transfer (a REST-style WSDL description) possibly work?
Ok Nick,
For me REST is polymorphic but I don't think it is a good description
of what REST is because the fundamental particularity in REST is that
there is a limited number of generic (should I say standard?)
operations. I think that is more meaningful than "polymorphic".
Next to this, with the OO background I have, I know 2 concrete use
cases of polymorphism:
1) Method overriding
2) Abstract classes
I think the Abstract class polymorphism does not make any sense in a
SOA for messages. The reason is that the full message structure should
be contractually defined. In that context, abstracting a message does
not make any sense, does it?
If I look now at the method overriding, it means we could invoke a
single operation on a single service with several different messages.
I think WSDL does not support that, am I right?
Robin
--- In [email protected], "Nick Gall"
<[EMAIL PROTECTED]> wrote:
>> Your distinction between polymorphic and generic services makes no
sense to
> me. Please elaborate. Perhaps a few examples of each.
>
> REST is about a "is about a limited set of generic services". Yes.
And in
> this context, its about a limited number of polymorphic services. Or
if you
> prefer, about a limited number of
--
Nick Gall
Phone: +1.781.608.5871
AOL IM: Nicholas Gall
Yahoo IM: nick_gall_1117
MSN IM: (same as email)
Google Talk: (same as email)
Email: nick.gall AT-SIGN gmail DOT com
Weblog: http://ironick.typepad.com/ironick/
Furl: http://www.furl.net/members/ngall __._,_.___![]()
SPONSORED LINKS
Computer software program Computer software spy Computer job Database software Discount computer software
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- Re: [service-orientated-architecture] Re: Polymorphic Servi... Nick Gall
Reply via email to
