A servlet archive (SAR) file is a portable, packaged Session
Initiation Protocol (SIP) application that you can import into your
workspace.
Before you begin
Before importing a SAR file, determine if the SAR file contains
required Java source files. When you import a SAR file into an existing
SIP project, the imported SIP deployment descriptor files are either
not changed or are overwritten by the ones that are included in the
imported SAR file, based on your response to the prompt. In either
case, this action does not represent a merging of the two sets of
deployment descriptors.
Procedure
To import the SIP project resources in a SAR file into
your workspace:
- Click .
- In the Import dialog box, select SAR file and
click Next.
- Browse to the SAR file that you want to import.
- By default, the wizard creates a new SIP project with the
same name as the SAR file. If you accept this choice, the project
is created with the same servlet version that is specified by the
SAR file, in the same location.
- To facilitate deployment, associate your imported SIP application
with a new or existing Enterprise Application project (EAR Project)
by selecting Add Project to an EAR file.
- Click Finish to populate the SIP
project.