The Portal Server software includes a deployment tool which will take your WAR file and deploy it into the portal server. Before deploying the WAR file, determine where to place the portlets inside the organization.
With the following command, the sample portlets can be deployed into the organization.
psadmin deploy -u uid -f passowrdfile -g|-d distinguishedName -p ContainerAdminPassword examples.war
Note that the Portal Server deploys portlet applications as separate web applications within the web container. Portlet preferences are stored in the display profile with the portlet channel definition. The display profile is updated with a new provider for each portlet contained within the portlet web application. For more information on the psadmin deploy subcommand, see Command Line Reference.