Develop > Presentation layer > WebSphere Commerce integration with WebSphere Portal


Portlet packaging structure

The WebSphere Commerce Portlet is provided as a WAR file for the WebSphere Portal administrator to install to the WebSphere Portal Server.

These are the major items in this package:

This portlet application requires two deployment descriptors:

The WAR file of the Portlet application has the following directory structure.

Directory Description
/ Root directory of the portlet file structure.
/component-services Location for all schema definitions and service WSDL files.
/wsdl Location for cooperative portlet configuration files.
/jsp Location for JSP files.
/WEB-INF Location for all protected resources. The /WEB-INF directory stores the portlet descriptor document and all of the runtime executable JAR files and classes that the packaged portlet requires. The portlet information directory is not part of the public document tree of the application. Files that reside in /WEB-INF are not served directly to a client.
/WEB-INF/config Location of all the core and bootstrap configuration files that cannot be customized.
/WEB-INF/config/ext Location of all customizable configuration files.
/WEB-INF/lib Location for storing portlet JAR files, such as component client libraries.
/WEB-INF/classes Location for portlet class files. Individual class files should be stored in a directory structure within /WEB-INF/classes that reflects the class package.
/WEB-INF/wsdl Location for WebSphere Commerce service deployment configuration files.
/WEB-INF/classes/nl Location for portlet resource bundles.
/META-INF Location for the manifest file, manifest.mf. Files that reside in /META-INF are not served to clients.

For customization, developers have a choice of reusing the MVCPortlet project or creating additional Java utility projects to store their customized code:


Related concepts

WebSphere Commerce integration with WebSphere Portal


Related tasks

Prepare MVCPortlet for deployment

Configure the sample portlets in the server environment


+

Search Tips   |   Advanced Search