The creation of a development or production WAR with IBM® WebSphere® Portlet Factory includes a number of JAR files from the associated project.
You may be able to trim down a WAR file by deleting some of these files, though this must be done with caution as some of these files are essential for the operation of your project.
The following table lists the JAR files that are included in a WebSphere Portlet Factory development WAR that are written to the project WEB-INF/lib
Files that are excluded from a IBM WebSphere Portal 7.0 war are noted in the Description column.
Table 1. JAR files in a WAR
|axis.jar||Web Services support. (This file is excluded from IBM WebSphere Portal 7.0 war files. )|
|bstres.jar|| WebSphere Portlet Factory runtime English message resources|
|bstres_nl1.jar||Runtime Group 1 languages, message resources (not necessary if your project is English only)|
|classparser.jar|| WebSphere Portlet Factory utility JAR for parsing Java™ source templates, used for generating Java classes|
|commons-beanutils.jar||Utility JAR used by WebSphere Portlet Factory for manipulating Java Beans and Java reflection utility methods|
|commons-discovery.jar||Utility JAR used by AXIS Web services support. (This file is excluded from IBM WebSphere Portal 7.0 war files. )|
|commons-fileupload.jar||Utility JAR used by File Upload support|
|commons-logging.jar||Logging utility JAR used by AXIS Web services support|
|factory.jar|| WebSphere Portlet Factory runtime|
|jakarta-poi.jar||Supports the Spreadsheet builders. (This file is excluded from IBM WebSphere Portal 7.0 war files. ) |
|jaxrpc-api.jar||Standard Java Web Services RPC API JAR, used by AXIS Web services support. (This file is excluded from IBM WebSphere Portal 7.0 war files. )|
|jdom.jar||JDOM Java XML API jar supported by WebSphere Portlet Factory XML conversion APIs (for example, com.bowstreet.util.XmlUtil )|
|log4j.jar||LOG4J logging support API JAR used by WebSphere Portlet Factory for logging|
|logging.jar||WebSphere Application Server logging configuration|
|NSCO.jar||The NCSO.jar file is a IBM Lotus® Domino® library jar file used by all the WebSphere Portlet Factory Domino builders for accessing remote Domino servers over CORBA/IIOP and is required to use the WebSphere Portlet Factory Domino integration. The current version of the NCSO.jar file shipped with WebSphere Portlet Factory is version 8. (This file is excluded from IBM WebSphere Portal 7.0 war files. ) |
Note: This file only becomes part of the WAR if the Lotus Collaboration Extension feature set is enabled for the project.
|portlet_adapter_common.jar||Base portlet adapter support|
|portlet_adapter168.jar|| WebSphere Portlet Factory JSR 168 portlet adapter|
|portlet_adapter.jar|| WebSphere Portlet Factory portlet adapter for legacy portlet WARs|
|saaj-api.jar||Java standard SOAP API JAR, used by AXIS Web services support|
|wsdl4j.jar||WSDL parsing/support API JAR|
|xercesImpl.jar||Standard Java XML parser|
|xml-apis.jar||Standard XML parser|
The following table lists the JARs written to the project WEB-INF/clientLibs
Table 2. Other JAR files written in the WAR file
|builderui.jar||Contains the builder coordinator and UI support classes for the builders in case you want to create your own.|
|j2ee.jar||J2EE Interface APIs (not implementation) for compiling generated Java classes against servlet APIs, EJB APIs, and the like|
|portlet.jar||Portlet API JAR (interface classes only, not implementation) for compiling Java classes against that reference the Java Portlet Standard 1.0 APIs (JSR 168) and Java Portlet Standard 2.0 APIs (JSR 286) |
In addition, the project WebContent/factory/classes
directory contains a JAR file (BowTree.jar
) for the IBM WebSphere Application Server Portlet Tree applet. This JAR can be deleted if your applications do not use the Tree builder.
Older Eclipse projects may not have a WebContent
directory. In these cases, the directory would be factory/classes
When you add feature sets to a project, associated JARs are added as well. For example, including the Lotus Collaboration Extension feature set adds the domino_builders.jar
Parent topic: Publishing to the IBM WebSphere Application Server JSR 168 and JSR 286 Portlet containers