Packaging Java EE assets for a partial application
Before you deploy your partial application, you must package it in a format that WebSphere Application Server understands. In a partial application update, many single file assets are combined into a compressed file in a structure that matches the final deployment. Depending on the type of files, you must take a different approach to packaging the assets for deployment. The result of this package is a compressed file of all the changed assets that are packaged for deployment.
Packaging for a partial application involves three stages:
- First, you create a directory to contain all of the assets. This directory represents the root of the EAR
- Next, you collect all of the assets you want to deploy and place them underneath this directory.
The structure underneath this directory must match the structure that you want in the Java EE
application to which you are deploying. The assets can be any combination of the following assets:
- JAR files that contain controller commands, data beans, or Java code
- Store assets
- Assets that are stored outside of the WebSphere Commerce development environment workspace, such as the assets in the /xml or /properties directories
- Finally, you package all assets as a single compressed file.
About this task
Note: All .xmi files must not be included when packaging Java EE
assets for a partial application.
The following is more details on each stage. In the examples, c:\ExportTemp\partialApp is used as the directory to collect the partial application assets. You can use any directory name that you like.