On 6/14/06, Gregg Wonderly <[EMAIL PROTECTED]> wrote:
> Mark Baker wrote:
> > On 6/14/06, Gregg Wonderly <[EMAIL PROTECTED]> wrote:
> >
> >>A mixing of words.  I was refering to the features that an API provides 
> >>given
> >>the amount of interface defined.  GET/POST/PUT is the API.  The parameters 
> >>to
> >>those operations are arbitrary.
> >
> >
> > Thanks for clarifying, but parameters aren't really arbitrary; they're
> > rarely used on the Web, in fact.  That's because most parameters in
> > RPC styles like SOA are *identifying* information (e.g. "GOOG" in
> > getStockQuote( "GOOG" )), and in REST, identifying information goes in
> > the identifier to which the message is targetted.
> >
> > In other words, instead of;
> >
> > Message destination: http://example.org/stockQuotes/
> > Operation: getStockQuote
> > Parameter: symbol=GOOG
> >
> > you use;
> >
> > Message destination: http://example.org/stockQuotes/GOOG
> > Operation: GET
> > Parameter: None
>
> this is equivalent to a function definition with the parameter "type"
> unspecified as in
>
> public void get( Object parm );

It's really not.  There are no parameters.  There's a URI and the GET
operation.  C'est tout.

How many parameters do you need to invoke toString() on a Java object
when given a handle to one?  Same answer.

> The document content has different constraints.  My argument is still that 
> HTTP
> is being used as a transport protocol, and the URI is just a service name.

Right-o on the last part, but 100s of millions of HTTP component
running at this very moment disagree with the first part.

Mark.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/service-orientated-architecture/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to