To run the sample applications, you must install Jersey onto either GlassFish v3 Prelude or NetBeans IDE 6.5, and you need to install and configure Maven. Here are the links to more information on these topics.
Installing Jersey onto GlassFish v3 Prelude. This task is described in Adding Jersey to GlassFish.
Installing Jersey as part of the NetBeans Web and Java EE pack, or by installing Jersey as a separate plugin to NetBeans IDE 6.5. This task is described in Installing Jersey in NetBeans.
Installing Maven to run the sample applications. This task is described in Running the Jersey Examples.