For the convenience of non-maven developers the following links are provided:
- Jersey JAX-RS 2.0 RI bundle bundle contains the JAX-RS 2.0 API jar, all the core Jersey module jars as well as all the required 3rd-party dependencies.
- Jersey 2.21 Examples bundle provides convenient access to the Jersey 2 examples for off-line browsing.
All the Jersey 2 release binaries, including the source & apidocs jars, are available for download under the Jersey 2 maven root group identifier org.glassfish.jersey from the central maven repository as well as from the java.net maven repository.
Chances are you are using Apache Maven as a build & dependency management tool for your project. If you do, there is a very easy and convenient way to start playing with Jersey 2.21 by generating the skeleton application from one of the Jersey 2 maven archetypes that we provide. For instance, to create a Jersey 2.21 application using the Grizzly 2 HTTP server container, use
mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes \ -DarchetypeArtifactId=jersey-quickstart-grizzly2 -DarchetypeVersion=2.21
If you want to create a Servlet container deployable Jersey 2.21 web application instead, use
mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes \ -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.21
Maven users may also be interested in the list of all Jersey 2 modules and dependencies
Jersey 1.19 is the latest released version of Jersey 1.x. For the convenience of non-maven developers the following links are provided: