JAX-RS 2.0 has released Early Draft 3 and Jersey 2 (the implementation of JAX-RS 2.0) released Milestone 5.
Jakub reported that this milestone is now integrated in GlassFish 4 builds. The first integration has basic functionality working and leaves EJB, CDI, and Validation for the coming months.
TOTD #182 explains how to get started with creating a simple Maven-based application, deploying on GlassFish 4, and using the newly introduced Client API to test the REST endpoint.
GlassFish 4 contains Jersey 2 as the JAX-RS implementation. If you want to use Jersey 1.1 functionality, then Martin's blog provide more details on that. All JAX-RS 1.x functionality will be supported using standard APIs anyway. This workaround is only required if Jersey 1.x functionality needs to be accessed.
Here are some pointers to follow
2 Specification Early Draft 3
- Latest status on
JAX-RS 2.0 Javadocs
- Latest status on Jersey 2
Jersey API Javadocs
GlassFish 4.0 Promoted Build
- Follow @gf_jersey
Provide feedback on Jersey 2 to href="http://java.net/projects/jersey/lists/users/archive">email@example.com
and JAX-RS specification to href="http://java.net/projects/jax-rs-spec/lists/users/archive">firstname.lastname@example.org.