The Source for Java Technology Collaboration
User: Password:



Eduardo Pelegri-Llopart

Eduardo Pelegri-Llopart's Blog

What are your favorite public REST endpoints?

Posted by pelegri on November 18, 2005 at 10:21 AM | Comments (4)

There are a number of Consumer Web Services in the internet, the eBays, Yahoos, Googles, etc. A number of these use a REST architecture. The JAX-WS 2.0 specification supports REST endpoints, and, with the good integration with JAXB 2.0, we expect a very good developer experience. We would like to collect some public REST endpoints so we can test the implementation (in the JAX-WS project in the GlassFish Community) and possibly also write a few samples.

What are your favorite public REST endpoints?

Thanks, - eduard/o


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • I could not find 'REST' in the specification?..

    Posted by: smesh on November 18, 2005 at 05:05 PM

  • Eduardo,

    Could you expand on "The JAX-WS 2.0 specification supports REST endpoints"?
    As REST is an architecture, not a protocol, a REST application may return results as plain text, XML (conforming to any schema (or none)), binary data, or whatever else the client needs.
    Does JAX-WS place constraints on the REST endpoints it supports, and if so what are the constraints?

    Thanks,

    Graham.

    Posted by: grlea on November 20, 2005 at 03:17 PM


  • JAX-WS 2.0 provides easy access to the payload directly and supports HTTP as a transport. That means that it is quite easy to take some content, in many cases XML, and push it out through JAX-WS 2.0. And do the same with incoming messages. The spec also tries to make it easy to use JAXB 2.0 to do the data-binding of that payload (when it is XML) to Java objects.


    I am not surprised that there is not wide awareness of the ability to support REST through JAX-WS 2.0. I think we need a few demos to show it, and that is one of the reasons for collecting popular endpoints.

    Posted by: pelegri on November 21, 2005 at 08:23 AM

  • Can I deploy RESTful web services using JAX-WS and the HTTP_BINDING. Are there any examples? Does Glassfish currently support creating a java.xml.ws.Endpoint with the XML/HTTP binding (java.xml.ws.http.HTTPBinding)?

    Posted by: khookguy on November 23, 2005 at 08:41 AM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds