Search the web
Sign In
New User? Sign Up
service-orientated-architecture · SOA
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: ZT on Prospects for SOA Ven dors   Message List  
Reply | Forward Message #950 of 13953 |
Re: [service-orientated-architecture] REST and SOA


On Jan 2, 2004, at 10:35 AM, David Forslund wrote:
>
> One has to negotiate an agreement on the semantics of a request. If
> there is no mechanism
> to establish this semantic exchange, then the service is essentially
> useless.

Very true ... for RESTful services, distributed objects, and SOAP/WSDL
interfaces as well. Even those services that publish a syntactic
interface such as CORBA IDL or WSDL have to explicitly or implicitly
publish the semantic definition of the exchange, or it is indeed
useless. As an obvious example, "price" is meaningless unless the
currency, terms of sale, quality guarantees, return policy, etc. are
understood by both parties, and all the IDL and WSDL definitions in the
world won't do the job. (OK, you could add more fields such as
"terms", "currency", etc. to the interface, but that would beg all
sorts of semantic questions ... sooner or later the strings and numbers
and dates have to map onto some human concepts).

In a sense, REST is just saying that the WSDL for all services is
functionally equivalent to the HTTP spec -- you have the "uniform
interface" methods of GET, PUT, POST, DELETE [or some other small
uniform set, let's not go there]. The details of the syntax of the
messages exchanged is not defined by REST, but by the same sort of
implicitly or explicitly negotiated agreements that are used to
exchange understandings of the semantics of IDL or WSDL definitions.
So, REST decouples the *operations* in an interface from the
syntax/semantics of the messages exchanged; CORBA and SOAP/WSDL lump
the operations and syntax of the interface together ... and yes,
decouples that from the semantics.

Real-world RESTifarians tend to use a plain schema definition (as
opposed to a WSDL description that combines the operations/ports with a
schema definition) of the messages, so in one sense the answer to the
question "what is the REST equivalent of WSDL" is that it is a schema
definition of the data to be PUT, POSTED, or GETted. RESTifarians
also tend to be Semantic Web advocates, so they would actually try to
formally define the *semantics* of the service, which AFAIK few CORBA
or SOAP/WSDL users even try to do.

I *do* have a philosophical issue with REST, or at least Mark's
assertions about the "uniform interface principle." I think that all
this stuff -- URI of endpoints, protocol for exchanging data, agreement
on the syntax of the data exchanged, and the implicit or explicit
semantics of what is supposed to happen -- is the "interface". That is
NOT uniform across services, unless you just say that what is
transferred is a bag of bits that humans can somehow make sense of of
after being rendered by an application that understands the MIME type
of the content. So, perhaps the human-oriented Web has a "uniform
interface", but I can't imagine a service-oriented Web that could make
that claim.

> An example of how a client discovers a REST service and invokes it and
> uses the results would be
> illustrative of the issue.
>

Indeed. I wish the RESTifarians would use more nontrivial concrete
examples. I've talked to the Propylon (Sean's company) people enough
to believe that they really have a bunch of real success stories, but I
don't have them available to me. The best, most concrete discussions I
know of are Paul Prescod's articles a couple of years ago on XML.com
that, for example, illustrate how a RESTful equivalent of UDDI would
work
http://webservices.xml.com/pub/a/ws/2002/02/06/rest.html
http://webservices.xml.com/pub/a/ws/2002/02/20/rest.html





Fri Jan 2, 2004 5:36 pm

mcraigchampion
Offline Offline
Send Email Send Email

Forward
Message #950 of 13953 |
Expand Messages Author Sort by Date

... You know this is not helpful. I'm asking for the meaning of uniform in the context of a service, and the extent of the uniformity (across all services,...
David Forslund
dwforslund
Offline Send Email
Jan 2, 2004
4:06 pm

... Very true ... for RESTful services, distributed objects, and SOAP/WSDL interfaces as well. Even those services that publish a syntactic interface such as...
Michael Champion
mcraigchampion
Offline Send Email
Jan 3, 2004
1:51 pm

... This is why standards are so important and why flexibility associated with changes in an interface can lead to problems. It is also why we added things...
David Forslund
dwforslund
Offline Send Email
Jan 3, 2004
10:32 pm

... Fair enough. I guess I'd put it that CORBA folks *in practice* and REST folks *in practice* add semantic agreement on top of the base technology in order...
Michael Champion
mcraigchampion
Offline Send Email
Jan 4, 2004
6:59 pm

... That is reasonable, but the amount of agreement put on top of the base technology in CORBA vs REST is quite different. Dave...
David Forslund
dwforslund
Offline Send Email
Jan 5, 2004
10:03 am

... In terms of object orientation it means: All objects participating in the system only provide methods that have the same meaning for all objects. Invoking...
Jan Algermissen
algermissen1971
Offline Send Email
Jan 1, 2004
5:36 pm

... What does your answer have to do with the earlier response? How is one to know what the "semantics" are in order evaluate what "uniform" means? How...
David Forslund
dwforslund
Offline Send Email
Jan 1, 2004
11:11 pm

... Whether you use WSDL/SOAP/UDDI or REST, you implement your business logic with any language of your choice. What is different is that while with the SOAP...
Stefan Tilkov
stilkov
Offline Send Email
Jan 2, 2004
2:57 pm

This was very clear and informative! I hope it helps answer some of David Forslund's questions. ... That's pretty much where I come down on REST -- it's...
Michael Champion
mcraigchampion
Offline Send Email
Jan 2, 2004
4:07 pm

... uses the results would be illustrative of the issue. To "discover" a REST service you need the documentation to understand how to "cook up" the parameters...
Bill Appleton
billappleton
Offline Send Email
Jan 2, 2004
4:44 pm

... So it requires human intervention to figure out how to make the call? I checked out their code and it is at least as complicated as an equivalent CORBA...
David Forslund
dwforslund
Offline Send Email
Jan 3, 2004
1:52 pm

... Sending stuff *to* a RESTful Web service is not limited to URL query strings, so waht is the issue here? ... And by 'arguments' you mean what? Parameters...
Jan Algermissen
algermissen1971
Offline Send Email
Jan 3, 2004
1:50 pm

... The REST-way is to GET a representation of a resource that represents the stock quote. There are no method-invokations in the message data. ...
Jan Algermissen
algermissen1971
Offline Send Email
Jan 3, 2004
1:50 pm

... The issue is you have to specify what it is that you want to "get". There has to be some agreement on what a StockQuote "is". That is my only point. ... ...
David Forslund
dwforslund
Offline Send Email
Jan 3, 2004
10:31 pm

David Forslund <forslund@...> wrote on 03.01.2004 20:17:17: [snip] ... Coming from a CORBA background myself, I can relate to a lot of what you're saying....
Stefan Tilkov
stilkov
Offline Send Email
Jan 4, 2004
6:58 pm

... I would agree. I also would comment that much of what has been proven "good" in the OMG world has been ignored (or reinvented not necessarily better) in...
David Forslund
dwforslund
Offline Send Email
Jan 5, 2004
10:03 am

On Jan 3, 2004, at 2:17 PM, David Forslund wrote: I'll let someone more familiar with CORBA respond to the assertion that Prescod is "wrong" about it. ... I...
Michael Champion
mcraigchampion
Offline Send Email
Jan 4, 2004
6:59 pm

... Sure, but remember Netscape had an CORBA orb embedded in it for quite awhile which would have enabled people to use CORBA "over the web". M$, however,...
David Forslund
dwforslund
Offline Send Email
Jan 5, 2004
10:04 am

... strings, ... Usually REST is HTTP GET with the input arguments passed as paameter after the URL. My point is just that many app servers have a limit of 8K...
Bill Appleton
billappleton
Offline Send Email
Jan 3, 2004
10:32 pm

... Well, I agree with Gartner that SOA is a software design principle. Their quick definition "Essentially, SOA is a software architecture that starts with...
Michael Champion
mcraigchampion
Offline Send Email
Jan 1, 2004
2:07 pm

... It is described as more than that. It typically has a business process in mind and interfaces for that business process. REST doesn't provide that by...
David Forslund
dwforslund
Offline Send Email
Jan 1, 2004
5:35 pm

... It's both. As one example of the former, I've raised a couple of architectural issues with the Semantic Web that my understanding of REST helped identify...
Mark Baker
gonga_thrash
Offline Send Email
Jan 2, 2004
2:58 pm

... Re-reading, maybe this is where the disconnect comes from. The REST advocates call it an "architectural style" -- the approach to designing systems in...
Michael Champion
mcraigchampion
Offline Send Email
Dec 29, 2003
4:32 pm

... This is exactly how I see it. REST isn't sufficient by itself. It needs a set of additional constraints which I don't see defined in REST itself. Thus...
David Forslund
dwforslund
Offline Send Email
Dec 30, 2003
4:49 pm

... Hmm, let's see .... I think the Web is an example of an SOA in the sense that it provides the service of transferring representations of resource states....
Michael Champion
mcraigchampion
Offline Send Email
Dec 29, 2003
3:21 pm

... Mike - On this issue I couldn't disagree with you more. ... You're nailing it. It is about program models, methods, etc. Very little of it it is about real...
Jeff Schneider
jeffrschneider
Offline Send Email
Dec 29, 2003
4:01 pm

Jeff -- I'm surprised and disappointed that you found it appropriate to flame our conclusions without reading the report. Now, I'm not trying to sell you the...
Jason Bloomberg
jbloomberg
Offline Send Email
Jan 1, 2004
2:08 pm

... Jason, What is the size of the 'TCP/IP' market? It has to be close to $60 billion, doesn't it? What about the HTTP market? Hard to put numbers on them,...
Jeff Schneider
jeffrschneider
Offline Send Email
Jan 1, 2004
11:09 pm

Actually it means that all IT gradually will move to SOA. And most of the common IT products and projects will be developed SOA. It is a good opportunity for...
Rami Rinot
rinotr
Offline Send Email
Dec 29, 2003
10:19 am
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help