Administer > Deploy > Deploying customized assets > Customized WebSphere Commerce Enterprise Application (EAR) assets > Package custom Java EE assets
Package commands, data beans, or Java classes for deployment
If you are deploying a custom command, data bean, or Java classes, first package or export the classes as a JAR file.
Procedure
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- Right-click the WebSphereCommerceServerExtensionsLogic project and select Export.
- In the Export wizard:
- Select Java > JAR file and click Next.
- Verify the resources that begin with a period are not selected. For example, .classpath, .factorypath, and .project.
- Ensure Export generated class files and resources is selected.
- Ensure Export Java source files and resources is not selected.
- In the Select the export destination field, enter the fully-qualified JAR file name, for example:
C:\ExportTemp\WebSphereCommerceServerExtensionsLogic.jar
- Click Finish.
- Depending on whether you have other assets to deploy, you are either ready to deploy the assets or you have one more packaging step:
- If you do not have other assets to deploy (that is, the only asset to deploy is the JAR file you have just created), then deploy it as a single file.
- If there are other assets as part of this deployment:
- Package them as either a partial application or an entire module.
- Deploy as either a partial application or an entire module.
Related tasks