Friday Jun 29, 2012

Jersey 2.0 Integrated into GlassFish 4.0

The latest promoted build of GlassFish 4.0 (glassfish-4.0-b43.zip) now contains upgraded Jersey version, 2.0-m05. Users are getting an early access to the implementation of some parts of the JAX-RS 2.0 API Early Draft Review 3. The appropriate JAX-RS bundle, version 2.0-m09 , gets bundled into GlassFish 4.0 as well.

What should work

The simple answer is: all the basic stuff. We have particularly tested the following two examples: Both above linked archives contain adjusted projects, so that resulting war files do not bundle any Jersey dependencies. Both also use Jersey 2 specific Servlet class, org.glassfish.jersey.servlet.ServletContainer, for deployment. See Martin's blog post on how to package war applications capable of running with both Jersey 1 and Jersey 2 ServletContainer classes.

What has not been covered yet

The main areas, which have not been touched yet in Jersey 2 are:
  • EJB integration
  • CDI integration
  • Validation
These are also the areas where we are going to spend the most of our cycles in the coming month.
About

Jakub Podlesak

Search

Archives
« June 2012
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
30
       
Today