Contained Within
Find More Documentation
Featured Support Resources
| Download this book in PDF (695 KB)
Installing Jersey on GlassFish
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.
Adding Jersey to GlassFish
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
to http://localhost:4848, then select Update Tool from
the left pane.
-
Click Available Add-ons.
-
Select Jersey RESTful Web Services for GlassFish.
-
Click Install.
-
Accept the license.
|