1.6. Building a war file

All the elements of the portlet need to be deployed in a Web archive (.war) file. This file can be created with any zip creation tool, the jar command line utility or the export utility of Rational Application Developer. Each war file should contain elements listed in Figure 1-15.

Figure 1-15. Basic WAR contents

The source folder is optional and you may choose what source to include for distribution.

The webApplication folder is optional and may be used to contain the WEB-INF folder. Alternatively, the WEB-INF folder can be placed directly under the root without modification.

Generally, it will also contain a JSP folder ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.