Doug has written a detailed entry on how to
publish a RESTful web service using JAX-WS 2.0.
This is a complementary blog to Marc's earlier posting on how to
consume a RESTful web service using JAX-WS 2.0.
Doug's style is to build up the example incrementally;
that makes it look quite more complex than it actually is.
Doug's example is written in the context of
JWSDP 2.0 but it would apply equally to
Doug also indicates how this would be done in
Mustang using the
simple publishing API available there.