This subdirectory contains Jersey samples. You should refer to the individual README files in each top level sample directory for detailed instructions for each example.
All samples 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/.
Each sample has it's own README file saying how to run the example, including container setup.
For running the examples from command line you will need maven installed.
Another option would be to run the examples using NetBeans 6.9.1
Some samples refer to use of curl, which is useful utility for testing resources.
More about curl can be found here.
It can be downloaded from curl download.
These two files assembly.xml
and pom.xml
are included to allow users to build all samples using maven from top level samples directory.
The following samples are included: