This subirectory contains Jersey samples end javadocs.
Selection of Jersey samples are placed in the samples subdirectory. All of them were taken from Jersey project at http://jersey.java.net/, and are available also on java.net maven repository at https://maven.java.net/content/repositories/releases/com/sun/jersey/samples/jersey-samples/. They represent samples, which could be packaged as wars and easily deployed onto GlassFish instance.
The following samples are included:
For running the examples from command line you will need maven installed. Then you can just:
cd $AS_HOME/jersey/samples/[sample-name] mvn clean package $AS_HOME/bin/asadmin deploy target/[sample-name].war
You can also run the examples using NetBeans 6.5
For Jersey based web applications, which are using JSP Views feature (see the bookstore example), you will need to bundle jersey jars with the application war file. This is a known limitation, which will be addressed in the future releases.