6320ch_DEV_migration.fm

Draft Document for Review July 28, 2004 7:33 pm

c.Select the option to import Projects and click Details... next to this option.

d.In the window that opens, select your EJB project and click OK.

e.Check the option to Add most recent project edition to workspace and click Finish.

Even with only small numbers of EJBs in your repository, VisualAge can take several minutes to complete the import.

5.Check that your project and its EJBs have appeared in the Projects and EJB views of the Workbench.

Your EJBs are now imported into VisualAge for Java V4.0, but they still only comply to the EJB1.0 specification. Additionally, the deployed code will need to be regenerated as will be shown in the following section.

7.5.4 Regenerate the deployed code for the EJBs

Before exporting your EJBs in the EJB 1.1 format, you must regenerate the deploy code. This can be done for all of your custom EJBs in one step.

To regenerate the deploy code, complete the following steps:

1.If it is not already open, launch VisualAge for Java V4.0.

2.Switch to the EJB view in the Workbench by clicking the EJB tab.

3.Select the EJB group that contain your custom EJBs in the Enterprise Beans pane.

4.Right-click on one of the selected groups and select Generate Deployed Code from the menu.

A dialog will appear showing you the progress. If you have a lot of beans, this may take several minutes.

All of your EJBs are now ready to export to EJB 1.1 JARs.

7.5.5 Export EJBs as EJB 1.1 JAR files

The next stage is to export your EJBs into EJB 1.1 compliant JAR files.

To export your EJBs into EJB 1.1 JAR files, complete the following steps:

1.Switch to the EJB view in the Workbench by clicking the EJB tab.

2.Right-click on the EJB group containing the EJBs to export and select Export -> EJB 1.1 JAR... from the menu.

The Export to an EJB 1.1 JAR File SmartGuide will appear.

122Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide

Page 140
Image 140
IBM SG24-6320-00 manual Regenerate the deployed code for the EJBs, Export EJBs as EJB 1.1 JAR files