4.12. Portlet deployment

When a portlet is installed into the portal server, the deployment information is contained in two deployment descriptors. The Web.xml deployment descriptor is used by the WebSphere Application Server to register the portlets being deployed. The application server is not aware of the portlet hierarchy and is simply installing a Web application containing servlets. The portlet.xml deployment descriptor is used by the portal server to retrieve parameters and to set the initial configuration.

When the portlet application is deployed, it is deployed as a Web archive (war), not an enterprise application (ear). When the war file is deployed, the portal server actually creates an associated ear folder in the WebSphere\AppServer\installedApps ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.