[seam-dev] Re: Seam/RESTEasy integration

Bill Burke bburke at redhat.com
Wed Mar 4 13:39:40 EST 2009



Pete Muir wrote:
> 
> On 4 Mar 2009, at 18:06, Dan Allen wrote:
> 
>> Thanks for the response Bill. Let's line that up with what we have today.
>>
>>
>> * Unique URIs to each "page"
>>
>> We are going to call these "pretty" or "friendly" URLs and it is 
>> slated for JSF 2.1. We intentionally want to avoid the word REST here.
> 
> Actually, I think this comes with page parameters, as those define a 
> unique URI (but not path) for a resource. URL rewrite just makes em look 
> nice.
>

Query parameters really shouldn't contain information about identity. 
You can't create URI hierarchies then.  For example:

For example:

/customers
/customers/123
/customers/123/address

But I guess this is the "prettiness" factor and nothing really to do 
about whether it is RESTFul or not.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com



More information about the seam-dev mailing list