On Jun 27, 2008, at 6:51 PM, Kevin Duffey wrote:
> It may be the bug I am coming across where I am getting a 204 even
> tho I am setting the status.
Correct, others reported the same issue. It is fixed in 0.8.
> I've been using the Jersey that comes with the NetBeans 6.1 plugin.
> I think I asked this before but I don't recall seeing any
> response... Jersey seems to add about 8MB of dependencies. Do I
> need all of those in my WAR file? In the properties/libraries pane,
> when I edit the jersey library, it shows:
>
> jsr311-api.jar, jersey.jar, asm-3.1.jar, comresrcgen.jar, grizzly-
> http-webserver-1.7.2.jar, http.jar, jdom-1.0.jar,
> jettison-1.0.RC1.jar, jsp-api-2.0-20040521.jar, persistence-
> api-1.0.jar, rome-0.9.jar, and wadl2java.jar.
>
> Are all of these required for jersey to work on the web side? I
> know I took a couple out once, and when I deployed, it broke. So I
> put them all back.
>
We will soon be splitting Jersey up into separate modules so it will
become a little more obvious what the dependencies are.
Note that Jersey is also available from the Glassfish update centre
and in this case such jars do not need to be included in the war.
However, you will need to be careful about Jersey versions between NB
and GF. All this should get better when 1.0 is released.
Paul.