Java News from Saturday, May 3, 2008

Sun has posted a public review draft of JSR 311 JAX-RS: The Java API for RESTful Web Services 1.0. This amounts to a moderately complex API for server side HTTP. There's some good stuff here, including support for URI templates, and the use of annotations to associate methods with paths. I still suspect it's more complex than it needs to be; and I'm not sure if Java code is really the right place to be mapping handlers to paths. The again maybe it is appropriate for some HTTP servers, even if not all of them. Comments are due by May 22.