Importing Servlet ARchive (SAR) files

A Servlet ARchive (SAR) file is a portable, packaged Session Initiation Protocol (SIP) application that you can import into your workspace.

Before importing a SAR file, determine if the SAR file contains required Java™ source files. When importing a SAR file into an existing SIP project, the imported SIP deployment descriptor files are either not changed or overwritten by the ones that are included in the imported SAR file, based on your response to the prompt that is provided. In either case, this action does not represent a merging of the two sets of deployment descriptors.

To import the SIP project resources in a SAR file into your workspace, complete the following steps:

  1. Click File > Import.
  2. In the Import dialog, select SAR file and click Next.
  3. Locate the SAR file you want to import using Browse.
  4. The wizard assumes you want to create 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.
  5. Click Finish to populate the SIP project.

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.


Feedback