Brian Leonard runs through the process of building RESTful Web Services in Java Using NetBeans 6.0 and the newly minted Java API for RESTful Web Services JSR 311 - JAX-RS.
So, REST based web services are simpler than SOAP, right? Then why's it so difficult to create a REST based web service in Java? Using tools I can crank out a SOAP based web service in seconds - not so easy with REST. But help is on the way. The Sun Web Developer Pack contains an early access implementation of JAX-RS along with a tutorial. The tutorial starts with your standard hello application, but it provides a working copy of the application rather than instructions how how to build it from scratch. That's where I come in...
Read the entire post: http://weblogs.java.net/blog/bleonard/archive/2007/07/an_introduction_1.html