Development Steps: Creating a Deployment Descriptor
Example Deployment Descriptor for a Remote PortletRemote portlets are portlets that execute outside of the portal container. You can use remote portlets to incorporate data from external applications into the portal Web application. When a user interacts with a remote portlet, the remote portlet appears to be the same as a local portlet. Many of the elements in the portlet deployment descriptor DTD relate only to local portlets. Therefore, a portlet deployment descriptor for a remote portlet requires fewer elements than a descriptor for a local portlet. An example of a portlet deployment descriptor for a remote portlet follows. You can use this example as a template for creating portlet deployment descriptors for your own remote portlets. Simply replace the element values with your own values as appropriate. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE portlets SYSTEM "http://www.sas.com/idp/portlet.dtd"> <portlets> <remote-portlet name="MyRemotePortlet" title="MyRemotePortlet" > <localized-resources locales="en" /> <deployment scope="group" autoDeploy="true" userCanCreateMore="false"> <group>Public</group> </deployment> <portlet-path>/sas/portlets/remote</portlet-path> <portlet-actions> <portlet-action name="display" default="true"> <url>http://d9999.mycompany.com:8080/test.html</url> </portlet-action> </portlet-actions> </remote-portlet> </portlets> |