Earthly Powers
- All
- Fast Infoset
- General
- Java
- REST
JSR-311 and the republicans
It is never pretty when politics and technology collide and it is not everyday one is compared to Karl Rove or Dick Cheney :-)
Putting politics aside i think Elliotte Rusty Harold and others make some good technical points. I hope Marc's blog in response assuages concerns.
IMHO this is all about developer productivity: enabling developers to rapidly build Web(re: HTTP)-based applications that utilize the best designed bits of the Web (namely the bits that conform to the REST architectural style).
Marc shows an example in his blog of what he has in mind. A 'runtime' that deploys the 'Widget' POJO could potentially handle many things so the developer does not need to, such as:
- Responding to a HEAD request.
- Responding with a 405 (Method Not Allowed), and including the Allow header field, to a DELETE request.
- Responding with a 304 (Not Modified) to a GET request if the resource has not been modified.
- Responding with a 406 (Not Acceptable) to a GET request if an Accept request-header field does not contain application/widgets+xml.
- Redirecting to normalized URIs, for example http://blah.com////context////widgest///1234 to http://blah.com/context/widgest/1234, for cache friendly behaviour.
Posted at 03:49PM Feb 15, 2007 by Paul Sandoz in REST | Comments[0]