O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.9. Deployment descriptors

Deployment descriptors provide information to the server about the application. Two deployment descriptors are required for portlets, web.xml and portlet.xml. The web.xml (Web deployment descriptor) will be used to define all non portlet resources. Compared to the IBM portlet API, JSR 168 does not define a servlet so you do not have to define a servlet in the web.xml. Remember that in JSR 168 the portlet do not extend the HttpServlet interface like they do in the IBM API. Therefore portlets are not servlets and are not required to go into the web.xml. You can, however, use this to define other resources. The following items would be set in the web.xml.

  • <description> tag should contain the portlet application description ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required