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.
Having page parameters makes hierarchical URLs just an impl detail (you
simply rearrange the parameters as paths). The consuming part is what needed
to get into JSF. The mapping got thrown out of JSF 2.0 because the spec is
long overdue.
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.