Jersey 2 Integrated in GlassFish 4

Posted by arungupta on Oracle Blogs See other posts from Oracle Blogs or by arungupta
Published on Fri, 6 Jul 2012 21:35:33 +0000 Indexed on 2012/07/07 3:20 UTC
Read the original article Hit count: 327

Filed under:

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.

Jersey 2.0 in GlassFish 4

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

Provide feedback on Jersey 2 to [email protected] and JAX-RS specification to [email protected].

© Oracle Blogs or respective owner

Related posts about /JavaEE