By arungupta on Jul 06, 2012
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
- JAX-RS 2 Specification Early Draft 3
- Latest status on
- Latest JAX-RS 2.0 Javadocs
- Latest status on Jersey 2 (jersey.java.net)
- Latest Jersey API Javadocs
GlassFish 4.0 Promoted Build
- Follow @gf_jersey