SAS 9.1.3 Integration Technologies » SAS Web Infrastructure Kit: Developer's Guide


Developing Custom Portlets
Development Steps
Creating a Deployment Descriptor
Creating Display Resources Files
Developing the Presentation JSP Page
Creating Action Classes
Implementing Portlet Help
Creating a PAR File
Use Cases
Simple Display Portlet
Localized Portlet
Portlet Template (Editable Portlet)
Remote Portlet
Tips and Best Practices
Using the Portlet API
Sample Portlets
Localized Display Portlet (Welcome)
Interactive Form Portlet (FormExample)
Portlet Template, or Editable Portlet (DisplayURL)
Web Application (HelloUserWikExample)
Remote Portlet (HelloUserRemote
Portlet
Sample: Remote Portlet (HelloUserRemotePortlet)

Step 5: Create the PAR File, and Deploy and Test the Portlet

The last step in developing the HelloUserRemotePortlet was to create the files that were used to deploy the portlet. The portlet files were compressed into a portlet archive (PAR) file that contains the following:

The JAR utility was used to compress the directories and files into archives, and the archives were named HelloUserRemotePortlet.par and HelloUserWikExample.war.

Before deploying a remote portlet into the production environment, you should do the following:

  1. Deploy the associated Web application and test it using its direct URL. The steps required to create the application are described in Sample Web Application (HelloUserWikExample).

  2. Deploy the portlet into a staging area (that is, a test installation of the portal Web application) for verification and testing.

For information about how to deploy a PAR file into the portal Web application, see Adding Custom-Developed Portlets in the "Adding Content to the Portal" chapter in the SAS Intelligence Platform: Web Application Administration Guide.