The following section provides details for installing Jersey on Sun GlassFish Enterprise Server v3 Prelude (hereafter referred to as GlassFish v3 Prelude, or simply GlassFish). These steps assume that GlassFish is installed on your system. Jersey is installed as an add-on to GlassFish using the Update Tool that ships with GlassFish. The sample applications that ship with Jersey are also installed during this step.
This task describes how to download and add Jersey technology to the GlassFish container.
Start the Update Tool.
There are several ways to start the Update Tool. Here a few of the options:
From the Windows Start menu, select GlassFish v3 Prelude, then select Start Update Tool.
From a Windows file browser or command prompt, or from a Unix terminal prompt, change to the directory where GlassFish was installed, then the bin directory, and run updatetool.exe (Windows) or updatetool (Unix).
From a web browser, open the Admin Console by going
http://localhost:4848, then select Update Tool from
the left pane.
Click Available Add-ons.
Select Jersey RESTful Web Services for GlassFish.
Accept the license.