For more sample applications that demonstrate the Jersey technology, look in the as-install/jersey/samples directory. The following list provides a brief description of each sample application.
HelloWorld: This is how everybody starts, using Grizzly as the process HTTP server.
HelloWorld-WebApp: This is how everybody starts using a Web application. This application is described in this book. See section The HelloWorld-WebApp Application.
Bookstore web application: Demonstrates how to use polymorphism with resources and views that are JSP pages. This application is described in this book. See section The Bookstore Application.
Entity-Provider: Demonstrates pluggable entity providers.
Generate-WADL: Demonstrates how to customize generation of the WADL file.
Jaxb: Demonstrates the use of Java Architecture for XML Binding (JAXB)-based resources.
JMaki-backend web application: Provides JavaScript Object Notation (JSON) to be consumed by jMaki widgets.
Json-From-Jaxb: Demonstrates how to use JSON representation of JAXB-based resources.
Mandel: A Mandelbrot service written in the Scala programming language using Scala's actors to scale-up the calculation.
Optimistic-Concurrency: Demonstrates the application of optimistic concurrency to a web resource.
Simple-Atom-Server: Simple Atom server that partially conforms to the Atom Publishing Protocol.
Simple-Console: Demonstrates a simple service using Grizzly.
Simple-Servlet: Demonstrates how to use a Servlet container.
Sparklines: A Sparklines application inspired by Joe Gregorio's python application.
Spring-annotations: An example leveraging Jersey's Spring-based annotation support.
Storage-Service: Demonstrates a basic in-memory web storage service.
This list contains sample applications that are not installed with Jersey, but which also demonstrate the Jersey technology.
RESTful Web Services and Comet: Demonstrates interacting remotely with a Comet web application. Learn how to build one with Dojo, Java EE technologies, and GlassFish.http://developers.sun.com/appserver/reference/techart/cometslideshow.html