Migrating IBM Websphere Commerce Version 7 Feature Pack 8 Command and Data Bean projects
Migrating Command and Data Bean projects involves several steps. The WebSphereCommerceServerExtensionsLogic project must be exported from your old development environment, and imported into HCL Commerce Version 9 development environment.
About this task
Custom extension logic code from the
WebSphereCommerceServerExtensionsLogic project must be exported from Feature Pack 8
development environment as a JAR file named
WebSphereCommerceServerExtensionsLogic.jar. The JAR file is then imported as
compressed file under your HCL Commerce Version 9 development environment within .
Note: Other custom projects must be exported and imported following the instructions
in step 3.
Procedure
-
Export the Java project from your old development environment as a JAR file by using Rational
Application Developer.
- Open your Feature Pack 8 development environment workspace and open the J2EE perspective.
- Select the project that contains your customized code. Right-click, then select .
- Click Next.
- In the list of resources under Select the resources to export, ensure that your project is selected.
- Ensure Export generated class files and resources and Export java source files and resources are selected.
- Click Browse and choose a path to save the exported archive file.
- Ensure Compress the contents of the file is selected.
- Click Finish to complete the export.
-
Import the Java project by using Rational Application Developer functions within your HCL Commerce Version 9 development environment.
-
If the project you want to import doesn't exist in your HCL Commerce Version 9 development
workspace, then follow these steps to import the entire command or data bean projects from Feature
Pack 8.
- Open your old Feature Pack 8 development environment workspace and open the J2EE perspective.
- Select the project that contains your customized code. Right-click and select Export.
- Select Next. , and then click
- In the list of resources under Select the resources to export, ensure that your project is selected.
- Ensure the Create only selected directories and Compress the contents of the file options are selected.
- Click Browse and choose a path to save the exported compressed file.
- Click Finish to complete the exporting.
- Optional: If your version Feature Pack 8 development environment and your HCL Commerce Version 9 development environment are on separate workstations, copy the compressed file to your HCL Commerce Version 9 development environment.
- Open your HCL Commerce Version 9 development environment workspace and open the Java EE perspective.
- Select .
- Click Browse to find the file you exported.
- Click Finish.
- A Workspace Migration Wizard is shown. Follow the instructions in the wizard to complete the migration.
- Correct any compilation errors and rebuild the project.