Today, GlassFish V3 Prelude, was launched.
As Paul has written, Jersey 1.0 is part of the ensemble, and I would like to show, how to get JAX-RS and Jersey support installed on it.
Jersey package is available on GlassFish V3 Prelude update center, which is easily accessible from
GlassFish admin console. After you start your GlassFish instance, the default location for the admin console is http://localhost:4848/
You will just click on the Available Add-Ons
button. Then the following table should appear:
Select Jersey package there and click on the Install
button.
You will need to confirm your selection and also agree with the provided license.
Then after a while, Jersey package will be installed:
In order for changes to take effect, you will now need to restart your GlassFish instance.
Besides Jersey 1.0 modules, the package will also install some additional samples
and docs. Check your $AS_HOME/jersey/README.html
for further details.
The important thing is, that:
And indeed, if you go to $AS_HOME/jersey/samples/helloworld-webapp
and try
mvn clean package
you will see, that the resulting target/helloworld-webapp.war
has only about 6kB!