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: Web Application (HelloUserWikExample)

Step 6: Create the WAR File, and Deploy and Test the Application

The last step in developing the HelloUserWikExample application was to archive its files into a WAR file. The WAR file includes the following:

  • appropriately named and organized directories and subdirectories, as described in Step 1: Create the Directory Structure.

  • all of the application's supporting files, including the files created in Steps 2 through 5 and the JAR files required for SAS Foundation Services. The files must be placed in the appropriate directories as described in Step 1: Create the Directory Structure.

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

Before deploying the HelloUserWikExample application in the portal Web application, you should test it using its direct URL. You can then deploy it in either of the following ways: