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: Localized Display Portlet (Welcome Portlet)

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

The last step in developing the Welcome portlet was to archive its files into a PAR file. The PAR file includes the following:

The JAR utility was used to compress the directories and files into an archive, and the archive was given the name Welcome.par.

It is a good practice to deploy new portlets into a staging area (that is, a test installation of the portal Web application) for verification and testing before deploying them into the production environment. For information about how to deploy a PAR file into the portal Web application, refer to Adding Custom-Developed Portlets in the "Adding Content to the Portal" chapter in the SAS Intelligence Platform: Web Application Administration Guide.